From 9174b4e3795c41299ed4b2ea39f07ee159aea952 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git bin/hbase-daemon.sh bin/hbase-daemon.sh index 7f024a4..7ac5665 100755 --- bin/hbase-daemon.sh +++ bin/hbase-daemon.sh @@ -173,6 +173,7 @@ case $startStop in (start) check_before_start nohup $thiscmd --config "${HBASE_CONF_DIR}" internal_start $command $args < /dev/null > ${logout} 2>&1 & + sleep 1; head "${logout}" ;; (autorestart) @@ -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)