commit | 89e267a5f74ee3cc752f6c6ad878dfe4977950fb | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Oct 19 04:38:17 2012 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Oct 19 04:38:17 2012 +0000 |
tree | 192c1c977e142f24e9089fad2889176ce883a5e5 | |
parent | 932aa6fea04f865dfc815d170277f5129f0ea0df [diff] |
fix a minor issue of the stopnc script caught by Jarod git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@2138 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix/pregelix-core/src/main/resources/scripts/stopnc.sh b/pregelix/pregelix-core/src/main/resources/scripts/stopnc.sh index 021071a..80d3a4a 100644 --- a/pregelix/pregelix-core/src/main/resources/scripts/stopnc.sh +++ b/pregelix/pregelix-core/src/main/resources/scripts/stopnc.sh
@@ -2,11 +2,11 @@ . conf/cluster.properties #Kill process -PID=`ps -ef|grep ${USER}|grep java|grep hyracks|awk '{print $2}'` +PID=`ps -ef|grep ${USER}|grep java|grep 'Dapp.name=hyrackscc'|awk '{print $2}'` if [ "$PID" == "" ]; then USERID=`id | sed 's/^uid=//;s/(.*$//'` - PID=`ps -ef|grep ${USERID}|grep java|grep hyracks|awk '{print $2}'` + PID=`ps -ef|grep ${USERID}|grep java|grep 'Dapp.name=hyracksnc'|awk '{print $2}'` fi echo $PID