commit | 26198a2062f74d51bed002a8e199ab4071d93b72 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Mar 22 06:40:46 2013 +0000 |
committer | buyingyi <buyingyi@123451ca-8445-de46-9d55-352943316053> | Fri Mar 22 06:40:46 2013 +0000 |
tree | 09bd3895c7a64432d73dcc8132c465dc4923ee44 | |
parent | bdaa57d7ca590ebc614d494e04537440c9ef7cd0 [diff] [blame] |
1. update script to add result-distribution paramteres; 2. fix rack-aware scheduler for boundary cases git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_asterix_stabilization@3163 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-dist/src/main/resources/bin/stopnc.sh b/hyracks/hyracks-dist/src/main/resources/bin/stopnc.sh index 03ce4e7..35c4794 100755 --- a/hyracks/hyracks-dist/src/main/resources/bin/stopnc.sh +++ b/hyracks/hyracks-dist/src/main/resources/bin/stopnc.sh
@@ -5,6 +5,10 @@ PID=`ps -ef|grep ${USER}|grep java|grep 'Dapp.name=hyracksnc'|awk '{print $2}'` if [ "$PID" == "" ]; then + PID=`ps -ef|grep ${USER}|grep java|grep 'hyracks'|awk '{print $2}'` +fi + +if [ "$PID" == "" ]; then USERID=`id | sed 's/^uid=//;s/(.*$//'` PID=`ps -ef|grep ${USERID}|grep java|grep 'Dapp.name=hyracksnc'|awk '{print $2}'` fi