Currently the Hive in ,my cluster keep on failing, when I check the stdout, it shows the following error, seems like there is an out of memory issue, how can I adjust the java heap space in cloudera?
Thu Mar 31 17:50:20 MYT 2016
using /usr/java/jdk1.7.0_67-cloudera as JAVA_HOME
using 5 as CDH_VERSION
using /opt/cloudera/parcels/CDH-5.4.9-1.cdh5.4.9.p0.19/lib/hive as HIVE_HOME
using /var/run/cloudera-scm-agent/process/760-hive-HIVESERVER2 as HIVE_CONF_DIR
using /opt/cloudera/parcels/CDH-5.4.9-1.cdh5.4.9.p0.19/lib/hadoop as HADOOP_HOME
using /var/run/cloudera-scm-agent/process/760-hive-HIVESERVER2/yarn-conf as HADOOP_CONF_DIR
# java.lang.OutOfMemoryError: Java heap space
# Executing /bin/sh -c "/usr/lib64/cmf/service/common/killparent.sh"...
Not sure if you figured it out, but Cloudera Manager has a section "Java Configuration Options for HiveServer2" where you can specify java arguments like heap space