- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to change the NodeManager Java heap size
- Labels:
-
Apache Ambari
-
Apache Hadoop
Created ‎09-15-2017 12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to change the NodeManager Java heap size value , this value cant change from the ambari GUI ( value is static ), how to enable in order to change it
I need to change this parameter according to the solution - https://community.hortonworks.com/content/supportkb/49606/gc-overhead-limit-exceeded.html
we have a problem to start the nodemanager on the worker machine
example from the log on worker machine:
FATAL nodemanager.NodeManager (NodeManager.java:initAndStartNodeManager(549)) - Error starting NodeManager java.lang.OutOfMemoryError: GC overhead limit exceeded at org.fusesource.leveldbjni.internal.NativeIterator.key(NativeIterator.java:171) at org.fusesource.leveldbjni.internal.JniDBIterator.peekNext(JniDBIterator.java:87) at org.apache.hadoop.yarn.server.utils.LeveldbIterator.peekNext(LeveldbIterator.java:137) at org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService.loadContainersState(NMLeveldbStateStoreService.java:169) at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.recover(ContainerManagerImpl.java:262) at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:246) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107) at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:291) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:546) at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:594) 2017-09-15 11:19:27,456 INFO util.ExitUtil (ExitUtil.java:halt(147)) - Halt with status -1 Message: HaltException
Created ‎09-15-2017 12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The NodeManager Heap mentioned in your "capture.jpg" screen shot is Disabled because you are Searching it in the "Filter" remove the search text and select the current "Config" version, Then you will see it enabled And Do not forget to Login As "Admin User"
.
Or else try this:
Ambari UI --> YARN --> Configs --> Advanced
You will see "NodeManager" bar there expand it and then edit the
"NodeManager Java heap size"
Save the changes and then restart affected components.
Created ‎09-15-2017 12:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The NodeManager Heap mentioned in your "capture.jpg" screen shot is Disabled because you are Searching it in the "Filter" remove the search text and select the current "Config" version, Then you will see it enabled And Do not forget to Login As "Admin User"
.
Or else try this:
Ambari UI --> YARN --> Configs --> Advanced
You will see "NodeManager" bar there expand it and then edit the
"NodeManager Java heap size"
Save the changes and then restart affected components.
Created ‎09-15-2017 12:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the button is still disabled to change the NodeManger Heap then please make sure that you have logged in with correct user who has access to change to configuration . (not as Read Only User).
Please see : https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-administration/content/cluster_ro...
Created ‎09-15-2017 01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have access to ambari GUI as admin admin
Created ‎09-15-2017 01:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is it possible to change it from CLI or API
Created ‎09-15-2017 01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just to remined I need to change this value on worker machine
Created ‎09-15-2017 01:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I succeeded to change it but still nodemanager cant start
