hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumar y <ykk1...@gmail.com>
Subject org.apache.hadoop.mapred.TaskTracker: Caught exception: java.net.UnknownHostException: Invalid host name:
Date Fri, 15 Nov 2013 01:45:10 GMT

we changed the jobtracker name recently in our production and populated the
same value in conf files across all our worker nodes.

couple of tasktrackers ( atleast from what we saw ) are started filling  up
with the below log messages. It works when  i manual do nslookup ,dig for
the jobtracker name.

My question is

1) if it resolved the jobtracker dns name to ip , will it cache that info
in jvm or will it retry everytime ?

2) I have read something on hadoop doing reverse lookup and might run it
these kind of issues if something is not right, any suggestions on what i
can look for ?

Any help is much appreciated. Thanks in advance !!!

 ERROR org.apache.hadoop.mapred.TaskTracker: Caught exception:
java.net.UnknownHostException: Invalid host name: local host is: (unknown);
destination host is: "jobtracker.xxx.xxxx":8021;
java.net.UnknownHostException; For more details see:
    at sun.reflect.GeneratedConstructorAccessor5.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:782)
    at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:741)
    at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:286)
    at org.apache.hadoop.ipc.Client.getConnection(Client.java:1280)
    at org.apache.hadoop.ipc.Client.call(Client.java:1208)
    at org.apache.hadoop.mapred.$Proxy9.getBuildVersion(Unknown Source)
    at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:2872)
    at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:4119)
Caused by: java.net.UnknownHostException
    ... 8 more

View raw message