Repository: accumulo
Updated Branches:
  refs/heads/1.7 14e88e4ba -> a25ec8eca


ACCUMULO-4093 use nohup when starting local processes in start-server.sh


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/abc69662
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/abc69662
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/abc69662

Branch: refs/heads/1.7
Commit: abc696623ae38ec14a40387baaa62ede7f74a6d8
Parents: 97a92a0
Author: Keith Turner <ktur...@apache.org>
Authored: Tue Dec 29 14:57:27 2015 -0500
Committer: Keith Turner <ktur...@apache.org>
Committed: Tue Dec 29 14:57:27 2015 -0500

----------------------------------------------------------------------
 assemble/bin/start-server.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/abc69662/assemble/bin/start-server.sh
----------------------------------------------------------------------
diff --git a/assemble/bin/start-server.sh b/assemble/bin/start-server.sh
index daa8495..8f37d50 100755
--- a/assemble/bin/start-server.sh
+++ b/assemble/bin/start-server.sh
@@ -75,7 +75,7 @@ fi
 if [ -z "$PID" ]; then
    echo "Starting $LONGNAME on $HOST"
    if [ "$HOST" = "localhost" -o "$HOST" = "`hostname -f`" -o "$HOST" = "$ip" 
]; then
-      ${NUMA_CMD} ${bin}/accumulo ${SERVICE} --address ${ADDRESS} 
>${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.out 
2>${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.err & 
+      nohup ${NUMA_CMD} ${bin}/accumulo ${SERVICE} --address ${ADDRESS} 
>${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.out 
2>${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.err & 
       MAX_FILES_OPEN=$(ulimit -n)
    else
       $SSH $HOST "bash -c 'exec nohup ${NUMA_CMD} ${bin}/accumulo ${SERVICE} 
--address ${ADDRESS} >${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.out 
2>${ACCUMULO_LOG_DIR}/${SERVICE}_${LOGHOST}.err' &"

Reply via email to