Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

Guru

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 hive.llap.zk.sm.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.
3 REPLIES 3
Highlighted

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

Mentor

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

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

Guru

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

Highlighted

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

Mentor

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

Don't have an account?
Coming from Hortonworks? Activate your account here