Right. It looks broke. Can you change local-regionservers.sh so it passes args to hbase-daemon.sh in right order? St.Ack
On Sat, May 14, 2011 at 1:00 PM, Lars George <[email protected]> wrote: > Hi, > > I tried to start a few more local region servers using the new > local-regionservers.sh script, but it failed simply printing the usage > instructions. I fiddled a bit and found the order of the values is > wrong in the daemon script. Here is what I changed to make it work: > > --- 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" > ;; > > > But I sort of assume this is not really the solution as you cannot > pass anything else in then to a class. How is this supposed to work? > Does it work for you? > > Lars >
