HBASE-1550 hbase-daemon.sh stop should provide more information when stop command fails

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@786669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nitay Joffe 2009-06-19 21:25:45 +00:00
parent e1bbd8cbc5
commit 558284d6d2
1 changed files with 3 additions and 2 deletions

View File

@ -153,10 +153,11 @@ case $startStop in
done
echo
else
echo no $command to stop
retval=$?
echo no $command to stop because kill of pid `cat $pid` failed with status $retval
fi
else
echo no $command to stop
echo no $command to stop because no pid file $pid
fi
;;