Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Upgraded HDP 2.2 to 2.3, get this error Invalid maximum heap size: -Xmx512mm

$
0
0

Hello,

Please note it looks like hive-env.sh file is incorrectly reading the hive heap size. The Hive Client heapsize looks to be passing an “m” when called by HADOOP_HEAPSIZE. Not sure if anyone else is facing this issue.

export HADOOP_HEAPSIZE=”{{hive_heapsize}}”

export HADOOP_CLIENT_OPTS=”-Xmx${HADOOP_HEAPSIZE}m $HADOOP_CLIENT_OPTS”

I changed the lines to this to resolve.

export HADOOP_HEAPSIZE=”{{hive_heapsize}}m”

export HADOOP_CLIENT_OPTS=”-Xmx${HADOOP_HEAPSIZE} $HADOOP_CLIENT_OPTS”


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>