buyingyi | 98e9a9b | 2013-03-10 21:24:35 +0000 | [diff] [blame] | 1 | bin/startcc.sh |
| 2 | sleep 5 |
| 3 | bin/startAllNCs.sh |
buyingyi | 657ce58 | 2013-03-11 06:49:18 +0000 | [diff] [blame^] | 4 | |
| 5 | . conf/cluster.properties |
| 6 | # do we need to specify the version somewhere? |
| 7 | hyrackcmd=`ls ${HYRACKS_HOME}/hyracks-cli/target/hyracks-cli-*-binary-assembly/bin/hyrackscli` |
| 8 | # find zip file |
| 9 | appzip=`ls $PWD/../hivesterix-dist-*-binary-assembly.zip` |
| 10 | |
| 11 | [ -f $hyrackcmd ] || { echo "Hyracks commandline is missing"; exit -1;} |
| 12 | [ -f $appzip ] || { echo "Genomix binary-assembly.zip is missing"; exit -1;} |
| 13 | |
| 14 | CCHOST_NAME=`cat conf/master` |
| 15 | |
| 16 | IPADDR=`bin/getip.sh` |
| 17 | echo "connect to \"${IPADDR}:${CC_CLIENTPORT}\"; create application hivesterix \"$appzip\";" | $hyrackcmd |
| 18 | echo "" |
| 19 | |