Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 12-10-2015 10:43 AM - edited 08-19-2019 05:39 AM
Hi I am using the Sandbox 2.3.2
I just download it 2 weeks ago.
At the first week before I am running with 4 GB RAM. Then i request it to my team to upgrade memory to 8 GB.
But the Resource Manager YARN and Ambari Server Alert cannot be started. always CRIT
Please what do i miss ?
Thank you
yan
Created on 12-14-2015 09:14 AM - edited 08-19-2019 05:39 AM
@yan Adiputra Just looking at your logs, looks like the problem is a wrong memory configuration:
2015-12-10 09:57:39,443 INFO service.AbstractService (AbstractService.java:noteFailure(272)) - Service RMActiveServices failed in state INITED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Invalid resource scheduler memory allocation configuration, yarn.scheduler.minimum-allocation-mb=3072, yarn.scheduler.maximum-allocation-mb=2250, min and max should be greater than 0, max should be no smaller than min. org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Invalid resource scheduler memory allocation configuration, yarn.scheduler.minimum-allocation-mb=3072, yarn.scheduler.maximum-allocation-mb=2250, min and max should be greater than 0, max should be no smaller than min. at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.validateConf(CapacityScheduler.java:179) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initScheduler(CapacityScheduler.java:308) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.serviceInit(CapacityScheduler.java:348) 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.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:572) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:972) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:259) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1202)
According to the logs the following config is set:
This config is impossible min has to be smaller than max
Could you please switch the configurations, so that you have:
Created 12-14-2015 06:13 PM
Hi Jonas,
I checked the sandbox on latest version, by default we use a min container of 250MB and max container 2250MB.
Created 12-14-2015 09:38 PM
@rmolina thanks for checking 🙂
Created 12-15-2015 04:14 AM
Is there a possibility for upgrading the memory from 4GB to 8 gb?
Created 08-10-2023 12:34 AM
Hi Team,
Can any one help to resolve this issue, Resources manager wnet down due to this not able start them.
Error:-
Service did not start successfully; not all of the required roles started: only 23/25 roles started. Reasons : Service has only 0 ResourceManager roles running instead of minimum required 1.