HBASE-2217 VM OPTS for shell only

This commit is contained in:
Andrew Purtell 2014-07-16 17:11:54 -07:00
parent b8aa2235ca
commit a462990765
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ if [ "$COMMAND" = "shell" ] ; then
else else
HBASE_OPTS="$HBASE_OPTS -Dhbase.ruby.sources=$HBASE_HOME/hbase-shell/src/main/ruby" HBASE_OPTS="$HBASE_OPTS -Dhbase.ruby.sources=$HBASE_HOME/hbase-shell/src/main/ruby"
fi fi
HBASE_OPTS="$HBASE_OPTS $HBASE_SHELL_OPTS"
CLASS="org.jruby.Main -X+O ${JRUBY_OPTS} ${HBASE_HOME}/bin/hirb.rb" CLASS="org.jruby.Main -X+O ${JRUBY_OPTS} ${HBASE_HOME}/bin/hirb.rb"
elif [ "$COMMAND" = "hbck" ] ; then elif [ "$COMMAND" = "hbck" ] ; then
CLASS='org.apache.hadoop.hbase.util.HBaseFsck' CLASS='org.apache.hadoop.hbase.util.HBaseFsck'