diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh index 3d1c4b0..88555b3 100755 --- a/bin/hbase-daemon.sh +++ b/bin/hbase-daemon.sh @@ -55,6 +55,12 @@ shift command=$1 shift + +#make sure the autorestart are default settings +if [ "$HBASE_AUTORESTART" == "true" ] && [ "$startStop" == "start" ]; then + startStop="autorestart" +fi + hbase_rotate_log () { log=$1;