Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.5.0
-
None
Description
Running the following command :
/hbase/bin/hbase org.apache.hadoop.hbase.mapreduce.Import -Dmapreduce.map.java.opts="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$HADOOP_HOME/logs/@taskid@_map.hprof" SYSTEM.CATALOG /tmp
fails with error. It is due to the fact that read -r -a CMD_ARGS <<< "$@" in the hbase script would split the command line args (i.e. "$@"). Instead a straightforward array copy can be used.