Description
The order of the parameters are not proper in hbase-daemon.sh. Here is a simple change that fixes it:
--- bin/hbase-daemon.sh (revision 1101351) +++ bin/hbase-daemon.sh (working copy) @@ -143,7 +143,7 @@ echo "`ulimit -a`" >> $loglog 2>&1 nohup nice -n $HBASE_NICENESS "$HBASE_HOME"/bin/hbase \ --config "${HBASE_CONF_DIR}" \ - $command $startStop "$@" > "$logout" 2>&1 < /dev/null & + $command "$@" $startStop > "$logout" 2>&1 < /dev/null & echo $! > $pid sleep 1; head "$logout" ;;
I think this is an oversight and should have been part of the patch. Currently the local-regionservers.sh simply prints out the usage and exits, because the -D are not before the command as expected.
Attachments
Issue Links
- is related to
-
HBASE-1511 Pseudo distributed mode in LocalHBaseCluster
- Closed