Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎05-06-2019

YARN Resource manager is not getting started

[ Edited ]

I am unable to launch Spark with YARN Resource manager is not getting started. seeing the below error. Can you please let me know what I am missing.

 

Spark error:

client.RMProxy: Connecting to ResourceManager at <IP>8032
19/06/17 22:48:57 INFO ipc.Client: Retrying connect to server: <IP>:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
19/06/17 22:48:58 INFO ipc.Client: Ret

 

Resource Manager Error:

Error starting ResourceManagerjava.lang.NullPointerException        at org.apache.hadoop.ha.ActiveStandbyElector$3.run(ActiveStandbyElector.java:1039)        at org.apache.hadoop.ha.ActiveStandbyElector$3.run(ActiveStandbyElector.java:1036)        at org.apache.hadoop.ha.ActiveStandbyElector.zkDoWithRetries(ActiveStandbyElector.java:1101)        at org.apache.hadoop.ha.ActiveStandbyElector.zkDoWithRetries(ActiveStandbyElector.java:1093)        at org.apache.hadoop.ha.ActiveStandbyElector.createWithRetries(ActiveStandbyElector.java:1036)        at org.apache.hadoop.ha.ActiveStandbyElector.ensureParentZNode(ActiveStandbyElector.java:347)        at org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService.serviceInit(ActiveStandbyElectorBasedElectorService.java:110)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)        at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:333)        at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)        at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:143