Unknown Host Exception

2010-10-09 Thread siddharth raghuvanshi
Hi, When I am running the following command in Mandriva Linux hadoop namenode -format I am getting the following error: 10/10/09 22:32:07 INFO namenode.NameNode: STARTUP_MSG: / STARTUP_MSG: Starting NameNode STARTUP_MSG: host = java.

Re: Unknown Host Exception

2010-10-09 Thread siddharth raghuvanshi
Hi, I am also getting the following error. Please tell me whether this error is related to the previous error which I asked an hour before or this is a separate error... [u...@cs-sy-249 hadoop]$ bin/hadoop dfs -copyFromLocal /users/user/Desktop/test_data/ gutenberg 10/10/09 23:22:15 WARN hdfs.DFS

Re: Unknown Host Exception

2010-10-09 Thread Shi Yu
I suggest you change the hadoop.tmp.dir value in hadoop-site.xml (0.19.x) and reformat, restart it. Also double check the host machine in fs.default.name and mapred.job.tracker is reachable or not. Shi On 2010-10-9 12:57, siddharth raghuvanshi wrote: Hi, I am also getting the following erro

Re: Unknown Host Exception

2010-10-10 Thread siddharth raghuvanshi
Hi Shi, I am a beginner in Hadoop. I have given the following value in core-site.xml hadoop.tmp.dir /users/user/hadoop-datastore/hadoop fs.default.name hdfs://localhost:54310 How will we check whether the host machine is reachable or not? Also, in mapred-site.xml, I have given mapred.job.trac

Re: Unknown Host Exception

2010-10-10 Thread Shi Yu
Hi. Were you trying hadoop on your own computer or on a cluster? My guess you were trying on your own computer. I once observed the same problem on my laptop when I switched from wireless to fixed line connection, since the IP address was changed but for some reason the configuration was not up

Re: Unknown Host Exception

2010-10-10 Thread siddharth raghuvanshi
Hi, Thanks for your reply.. In browser, http://localhost:50030/jobtracker.jsp is opening fine but http://localhost:50060/ is not. Since jobtracker is running, so I'm assuming localhost is reachable.. am I wrong?? Regards Siddharth On Sun, Oct 10, 2010 at 8:24 PM, Shi Yu wrote

Re: Unknown Host Exception

2010-10-10 Thread Shi Yu
Check you log, especially the hadoop-**-tasktracker-TEMP.log. What does it say? On 2010-10-10 10:07, siddharth raghuvanshi wrote: Hi, Thanks for your reply.. In browser, http://localhost:50030/jobtracker.jsp is opening fine but http://localhost:50060/ is not. Since jobtracke

Re: Unknown Host Exception

2010-10-11 Thread Steve Loughran
On 10/10/10 16:07, siddharth raghuvanshi wrote: Hi, Thanks for your reply.. In browser, http://localhost:50030/jobtracker.jsp is opening fine but http://localhost:50060/ is not. Since jobtracker is running, so I'm assuming localhost is reachable.. am I wrong?? I'd worry more

Re: Unknown Host Exception

2010-10-11 Thread Stephen Watt
Check your etc/hosts file. I usually resolve this issue by fixing some weirdness or misconfiguration in that file. Regards Steve Watt From: Steve Loughran To: common-user@hadoop.apache.org Date: 10/11/2010 04:36 AM Subject: Re: Unknown Host Exception On 10/10/10 16:07, siddharth

Re: Unknown Host Exception

2010-10-11 Thread siddharth raghuvanshi
Hi Steve, Can you suggest something on this error?? Regards Siddharth On Mon, Oct 11, 2010 at 3:05 PM, Steve Loughran wrote: > On 10/10/10 16:07, siddharth raghuvanshi wrote: > >> Hi, >> >> Thanks for your reply.. >> >> In browser, >> >> http://localhost:50030/jobtracker.jsp is opening

Re: Unknown Host Exception

2010-10-12 Thread Steve Loughran
On 12/10/10 07:18, siddharth raghuvanshi wrote: Hi Steve, Can you suggest something on this error?? Regards Siddharth I'm not going to teach network diagnostics because its something everyone should know. Start with trying to nslookup and then ping cs-sy-249.cse.iitkgp.ernet.in On Mon,

Re: Unknown Host Exception

2010-10-12 Thread Steve Loughran
On 12/10/10 07:18, siddharth raghuvanshi wrote: Hi Steve, Can you suggest something on this error?? That said, I've seen problems if your resolv.conf is a mess and the machine can't even work out its own hostname: https://issues.apache.org/jira/browse/HDFS-95 having a functional network wi