Support Questions

Find answers, ask questions, and share your expertise

HiveServer2 Interactive Start failed with Error: Could not create the Java Virtual Machine


I have enabled LLAP and HiveServer2 Interactive got installed but when it was staring then it failed with following error.

So is there any suggestion for this error.

resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/hive-server2-hive2/bin/hive --service llap --instances 1 --slider-am-container-mb 682 --size 682m --cache 512m --xmx 136m --loglevel INFO --output /var/lib/ambari-agent/tmp/llap-slider2017-02-24_10-00-17 --slider-keytab-dir .slider/keytabs/hive/ --slider-keytab --slider-principal hive/w3.hdp22@HADOOPADMIN.COM --args " -XX:+AlwaysPreTouch -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseParallelGC"' returned 5. Unable to determine Hadoop version information.

'hadoop version' returned:
Invalid maximum heap size: -Xmx512mm
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


-Xmx512mm doesn't look right, it should be -Xmx512m, please check your configurations.


@Artem Ervits I checked heap size value but did not get anywhere 512mm, so any idea where to find it.


Check in Ambari > hive > configs as well as Ambari > slider > configs