HBASE-2217 VM OPTS for shell only
This commit is contained in:
parent
b8aa2235ca
commit
a462990765
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue