From 4ecd9e379b3147b6746c956efa37c718243a3082 Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Wed, 24 Jul 2013 15:17:52 -0700 Subject: [PATCH] echo errors if found --- bin/hbase-daemon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git bin/hbase-daemon.sh bin/hbase-daemon.sh index 7f024a4..6023a74 100755 --- bin/hbase-daemon.sh +++ bin/hbase-daemon.sh @@ -172,7 +172,9 @@ case $startStop in (start) check_before_start + echo starting $command, logging to $logout nohup $thiscmd --config "${HBASE_CONF_DIR}" internal_start $command $args < /dev/null > ${logout} 2>&1 & + sleep 1; head "${logout}" ;; (autorestart) @@ -183,7 +185,6 @@ case $startStop in (internal_start) hbase_rotate_log $logout hbase_rotate_log $loggc - echo starting $command, logging to $logout # Add to the command log file vital stats on our environment. echo "`date` Starting $command on `hostname`" >> $loglog echo "`ulimit -a`" >> $loglog 2>&1 @@ -191,7 +192,6 @@ case $startStop in --config "${HBASE_CONF_DIR}" \ $command "$@" start >> "$logout" 2>&1 & echo $! > $pid - sleep 1; head "$logout" wait cleanZNode ;; -- 1.7.10.2 (Apple Git-33)