Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> NodeManager not able to connect to the ResourceManager (MRv2)


Copy link to this message
-
Re: NodeManager not able to connect to the ResourceManager (MRv2)
Hi Praveen,

Can you please look at the RM logs and check if there are any
errors/exceptions. I ran into a similar issue when my RM was down.

Also, the defaults are present at
http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-common/src/main/resources/yarn-default.xml
.

Thanks
Ramya
>
>
> On 7/21/11 7:36 AM, "Praveen Sripati" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I followed the below instructions to compile the MRv2 code.
>
>
> http://svn.apache.org/repos/asf/hadoop/common/branches/MR-279/mapreduce/INSTALL
>
> I start the resourcemanager and then the nodemanager and see the following
> error in the yarn-praveensripati-nodemanager-master.log file.
>
> 2011-07-21 19:39:54,125 INFO
> org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl: Connected
> to ResourceManager at 0.0.0.0:8025 <http://0.0.0.0:8025>
> 2011-07-21 19:39:58,151 INFO org.apache.hadoop.ipc.Client: Retrying connect
> to server: /0.0.0.0:8025 <http://0.0.0.0:8025> . Already tried 0 time(s).
> 2011-07-21 19:40:01,154 INFO org.apache.hadoop.ipc.Client: Retrying connect
> to server: /0.0.0.0:8025 <http://0.0.0.0:8025> . Already tried 1 time(s).
> 2011-07-21 19:40:05,158 INFO org.apache.hadoop.ipc.Client: Retrying connect
> to server: /0.0.0.0:8025 <http://0.0.0.0:8025> . Already tried 2 time(s).
> ...............
> ...............
> 2011-07-21 19:40:32,192 ERROR
> org.apache.hadoop.yarn.service.CompositeService: Error starting services
> org.apache.hadoop.yarn.server.nodemanager.NodeManager
> org.apache.avro.AvroRuntimeException:
> java.lang.reflect.UndeclaredThrowableException
>         at
> org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.start(NodeStatusUpdaterImpl.java:139)
> ...............
> ...............
> Caused by: java.io.IOException: Call to /0.0.0.0:8025 <http://0.0.0.0:8025>
>  failed on local exception: java.net.NoRouteToHostException: No route to
> host
>         at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1063)
>
> Did a telnet to the 8025 port and it got connected.
>
> telnet 0.0.0.0 8025
> Trying 0.0.0.0...
> Connected to 0.0.0.0.
>
> telnet 127.0.0.1 8025
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
>
> Has anyone faced a similar problem? Also, where are all the possible
> defaults specified (~ core-default.html) for MRv2?
>
> Thanks,
> Praveen
>
>