Support Questions
Find answers, ask questions, and share your expertise

ERROR: Ambari Metrics Collector Start Failed

ERROR: Ambari Metrics Collector Start Failed

Explorer
ERROR: ambari-metrics-collector start failed. For more details, see /var/log/ambari-metrics-collector/ambari-metrics-collector.out:
====================
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
==================== 

Collector out at: /var/log/ambari-metrics-collector/ambari-metrics-collector.out

4 REPLIES 4
Highlighted

Re: ERROR: Ambari Metrics Collector Start Failed

Mentor

You may need to increase Java heap, please review http://docs.hortonworks.com/HDPDocuments/Ambari-2....

Highlighted

Re: ERROR: Ambari Metrics Collector Start Failed

Explorer

I think the problem here is that the heap is trying to reserve is not available to the OS. I.E if you try configure 2G heap for AMS (or any java program) and the OS cannot reserve this it will fail to load the Java VM

Highlighted

Re: ERROR: Ambari Metrics Collector Start Failed

Mentor

in that case, @valent pawar please provide the list of services you're running on the collector node?

Highlighted

Re: ERROR: Ambari Metrics Collector Start Failed

Mentor

@valent pawar has this been resolved? Please accept best answer or provide your own solution.