Please check contents of /etc/hosts for the hostname and ipaddress mapping.
On Thu, Apr 12, 2012 at 11:11 PM, Sujit Dhamale <sujitdhamal...@gmail.com>wrote: > Hi Friends , > i am getting UnknownHostException while executing Hadoop Word count program > > getting below details from job tracker Web page > > *User:* sujit > *Job Name:* word count > *Job File:* > > hdfs://localhost:54310/app/hadoop/tmp/mapred/staging/sujit/.staging/job_201204112234_0002/job.xml< > http://localhost:50030/jobconf.jsp?jobid=job_201204112234_0002> > *Submit Host:* sujit.(null) > *Submit Host Address:* 127.0.1.1 > *Job-ACLs: All users are allowed* > *Job Setup:*None > *Status:* Failed > *Failure Info:*Job initialization failed: java.net.UnknownHostException: > sujit.(null) is not a valid Inet address at org.apache.hadoop.net. > NetUtils.verifyHostnames(NetUtils.java:569) at > org.apache.hadoop.mapred.JobInProgress.initTasks(JobInProgress.java:711) at > org.apache.hadoop.mapred.JobTracker.initJob(JobTracker.java:4207) at > > org.apache.hadoop.mapred.EagerTaskInitializationListener$InitJob.run(EagerTaskInitializationListener.java:79) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > *Started at:* Wed Apr 11 22:36:46 IST 2012 > *Failed at:* Wed Apr 11 22:36:47 IST 2012 > *Failed in:* 0sec > *Job Cleanup:*None > > > > > Can some one help me how to resolve this issue . > i tried with : http://wiki.apache.org/hadoop/UnknownHost > > but still not able to resolve issue , > please help me out . > > > Hadoop Version: hadoop-1.0.1.tar.gz > java version "1.6.0_30" > Operating System : Ubuntu 11.10 > > > *Note *: All node were up before starting execution of Program > > Kind Regards > Sujit Dhamale > <http://wiki.apache.org/hadoop/UnknownHost> > -- https://github.com/zinnia-phatak-dev/Nectar