You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2012/03/29 18:18:48 UTC
svn commit: r1306956 - /accumulo/branches/1.4/bin/start-server.sh
Author: vines
Date: Thu Mar 29 16:18:48 2012
New Revision: 1306956
URL: http://svn.apache.org/viewvc?rev=1306956&view=rev
Log:
I derped a then ACCUMULO-503
Modified:
accumulo/branches/1.4/bin/start-server.sh
Modified: accumulo/branches/1.4/bin/start-server.sh
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/bin/start-server.sh?rev=1306956&r1=1306955&r2=1306956&view=diff
==============================================================================
--- accumulo/branches/1.4/bin/start-server.sh (original)
+++ accumulo/branches/1.4/bin/start-server.sh Thu Mar 29 16:18:48 2012
@@ -38,6 +38,7 @@ fi
SLAVES=`wc -l < ${ACCUMULO_HOME}/conf/slaves`
if [ $HOST == localhost ]
+then
PID=`ps -ef | egrep ${ACCUMULO_HOME}/.*/accumulo.*.jar | grep "Main $SERVICE" | grep -v grep | awk {'print $2'} | head -1`
else
PID=`$SSH $HOST ps -ef | egrep ${ACCUMULO_HOME}/.*/accumulo.*.jar | grep "Main $SERVICE" | grep -v grep | awk {'print $2'} | head -1`