commit | 24349f0907f92efc2b6cad9f30af8f981a28b11c | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Oct 23 05:06:26 2012 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Tue Oct 23 05:06:26 2012 +0000 |
tree | 7549b99be3b4607c216fbbbf3c9e70458d3cbba2 | |
parent | edebb5300943146d98b77111842f46fb659ed57f [diff] |
update scripts git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@2242 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix-core/src/main/resources/scripts/startcc.sh b/pregelix-core/src/main/resources/scripts/startcc.sh index 6dab68d..fe2551d 100644 --- a/pregelix-core/src/main/resources/scripts/startcc.sh +++ b/pregelix-core/src/main/resources/scripts/startcc.sh
@@ -6,7 +6,7 @@ #Get the IP address of the cc CCHOST_NAME=`cat conf/master` -CCHOST=`host $CCHOST_NAME|awk '{print $4}'` +CCHOST=`bin/getip.sh` #Remove the temp dir rm -rf $CCTMP_DIR
diff --git a/pregelix-core/src/main/resources/scripts/startnc.sh b/pregelix-core/src/main/resources/scripts/startnc.sh index 0f468c9..85727da 100644 --- a/pregelix-core/src/main/resources/scripts/startnc.sh +++ b/pregelix-core/src/main/resources/scripts/startnc.sh
@@ -4,7 +4,7 @@ #Get the IP address of the cc CCHOST_NAME=`cat conf/master` CURRENT_PATH=`pwd` -CCHOST=`host $CCHOST_NAME|awk '{print $4}'` +CCHOST=`bin/getip.sh` #Import cluster properties . conf/cluster.properties