vinayakb | 9506d18 | 2013-03-22 08:20:32 +0000 | [diff] [blame^] | 1 | bin/startcc.sh |
| 2 | sleep 5 |
| 3 | bin/startAllNCs.sh |
| 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 | |