hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Issues with local-regionservers.sh
Date Sat, 14 May 2011 20:00:30 GMT
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

Mime
View raw message