brew install apache-spark
python3 -m venv .venv
source .venv/bin/activate
pip install pyspark
Then update your hostname in /etc/hosts
.
brew install apache-spark
python3 -m venv .venv
source .venv/bin/activate
pip install pyspark
Then update your hostname in /etc/hosts
.
import sys | |
import subprocess | |
import requests | |
import os | |
# The purpose of this script is to find look for unmounted volumes, and mount them. If a volume is unitialized, it | |
# will initialize as ext4. | |
# | |
# The simplest way to run this is via cron. Use the following crontab entry | |
# |
Mount the image. If the iamge is QEMU QCOW2 image, do the following.
sudo modprobe nbd max_part=63
sudo qemu-nbd -c /dev/nbd0 ~/precise-server-cloudimg-amd64
sudo mount /dev/nbd0p1 /mnt/myimage
Then you can change image contents from /mnt/myimage
, or through chroot /mnt/myimage
. Add a
/var/lib/cloud/scripts/per-instance
script to this image.
OpenStack is one of the largest and leading open source projects to build and operate public or private clouds. OpenStack provides a set of APIs for provisioning and managing basic cloud constructs like compute (virtual machines), network (shared or private networks, floating IPs, load balancers etc.), and storage (block and object storage) along with additional layers to build and operate on-demand self-service cloud platforms. OpenStack is used now-a-days by several public cloud providers such as Rackspace, HP as well as by many organizations to provide on-premise private clouds.
Contributing to this project will give developers, first, an opportunity to learn the fundamental building blocks of cloud, the challenges of operating at scale, and second, how to collaborate in a distributed setup to build open source software.
Short term objective of this project is to to setup a working OpenStack deployment on a virtual machine and then use OpenStack APIs or command-line interfaces
user_pref("network.http.pipelining", true); | |
user_pref("network.http.pipelining.aggressive", true); | |
user_pref("network.http.pipelining.maxrequests", 6); |
diff --git a/lib/monitor.js b/lib/monitor.js | |
index a47bd7e..e4a0f1d 100644 | |
--- a/lib/monitor.js | |
+++ b/lib/monitor.js | |
@@ -28,8 +28,7 @@ var Monitor = module.exports = function Monitor(options) { | |
this.options = options || {port: 8081, stats: {}, path: '/'}; | |
this.stats = this.options.stats; | |
- var app = express.createServer(); | |
- |
var http = require('http'); | |
var options = { | |
host: 'localhost', | |
port: 3000, | |
method: 'HEAD', | |
headers: { | |
'connection': 'keep-alive' | |
}, | |
path: '/' |
<html> | |
<head> | |
<script type="text/javascript" | |
src='http://www.google.com/jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["corechart"]}]}'> | |
</script> | |
<script type="text/javascript" src="http://stevenlevithan.com/demo/parseuri/js/assets/parseuri.js"></script> | |
<script type="text/javascript"> | |
window.ondragover = function () { | |
return false; |
<div id="events"> | |
</div> | |
<script type="text/javascript"> | |
uri = 'ws://ql.io'; | |
var wsCtor = window['MozWebSocket'] ? MozWebSocket : WebSocket; | |
var socket = new wsCtor(uri, 'ql.io-console'); | |
socket.onopen = function () { | |
var div = document.getElementById('events'); |