-
Notifications
You must be signed in to change notification settings - Fork 1
/
start.sh
executable file
·25 lines (19 loc) · 1.04 KB
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
starcluster sshmaster $1 'mkdir /root/PSLAQueries'
starcluster put $1 --node $1-master queries /root/PSLAQueries
starcluster put $1 --node $1-master data /root/PSLAQueries
starcluster put $1 --node $1-master raco /root/PSLAQueries
#starcluster put $1 --node $1-master multitenant /root/PSLAQueries
starcluster put $1 --node $1-master schema.py /root/PSLAQueries
starcluster put $1 --node $1-master buildingQueries.py /root/PSLAQueries
#starcluster put $1 --node $1-master ganglia /root/PSLAQueries
#starcluster put $1 --node $1-master adding_machines_to_cluster /root/PSLAQueries
#starcluster put $1 --node $1-master read_chunks /root/PSLAQueries
echo "finished moving files"
echo "installing myria-python"
starcluster sshmaster $1 "pip install myria-python"
echo "installing aws"
starcluster sshmaster $1 "sudo pip install awscli"
echo "installing raco"
#starcluster sshmaster $1 "/root/PSLAQueries/raco/python setup.py install"
echo "installing gnu parallel"
starcluster sshmaster $1 "(wget -O - pi.dk/3 || curl pi.dk/3/ || fetch -o - http://pi.dk/3) | bash"