Index: bin/hbase-daemon.sh =================================================================== --- bin/hbase-daemon.sh (revision 1520025) +++ bin/hbase-daemon.sh (working copy) @@ -172,6 +172,8 @@ (start) check_before_start + hbase_rotate_log $logout + hbase_rotate_log $loggc 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}" @@ -179,12 +181,12 @@ (autorestart) check_before_start + hbase_rotate_log $logout + hbase_rotate_log $loggc nohup $thiscmd --config "${HBASE_CONF_DIR}" internal_autorestart $command $args < /dev/null > ${logout} 2>&1 & ;; (internal_start) - hbase_rotate_log $logout - hbase_rotate_log $loggc # Add to the command log file vital stats on our environment. echo "`date` Starting $command on `hostname`" >> $loglog echo "`ulimit -a`" >> $loglog 2>&1