Reply
New Contributor
Posts: 1
Registered: ‎04-08-2016

Connecting to ResourceManager.....

I am new to hadoop and trying to run my first WordCount job. I am getting this error. Please help. Thanks!

 

16/04/08 21:20:58 INFO client.RMProxy: Connecting to ResourceManager at quickstart.cloudera/127.0.0.1:8032
16/04/08 21:21:00 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:01 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:02 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:03 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:04 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:05 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:06 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:07 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
16/04/08 21:21:08 INFO ipc.Client: Retrying connect to server: quickstart.cloudera/127.0.0.1:8032. Already tried 8 time(s); retry policy

Highlighted
Cloudera Employee
Posts: 435
Registered: ‎07-12-2013

Re: Connecting to ResourceManager.....

Looks like the YARN Resource Manager process is not running. I would
restart it with:

'sudo service hadoop-yarn-resourcemanager restart'.

If you continue to have issues, other services may have failed to come up
as a result of this or as a result of the same root cause. The easiest way
to restart everything in order on the VM is to simply reboot. If you have
sufficient memory for the VM, running on of the Cloudera Manager options on
the desktop makes it a lot easier to see the health of all the services,
etc.

You might also want to look at the log files in /var/log/hadoop-yarn to see
what kinds of exceptions are being thrown as the service dies.
New Contributor
Posts: 3
Registered: ‎05-30-2017

Re: Connecting to ResourceManager.....

Excellent! that fixed the problem :-)