You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Artem Ervits <ar...@nyp.org> on 2012/07/08 03:37:16 UTC

Re: namenode starting error

Check your firewall settings, specifically if port 54310 is open. The
other ports to look at are:

50010
50020
50030
50060
50070
54311

On 6/20/12 5:22 AM, "soham sardar" <so...@gmail.com> wrote:

>the thing is i have updated my JAVA_HOME in both .bashrc and hadoop-env.sh
>
>
>now the problem is when i try
>jps is the output is
>
>6113 NodeManager
>6799 DataNode
>7562 Jps
>7104 SecondaryNameNode
>5728 ResourceManager
>
>and now except namenode ,all other nodes are working and when i try to
>give
>
>hadoop fs -ls
>
>hduser@XPS-L501X:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/sbin$ hadoop
>fs -ls
>12/06/20 14:45:14 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 0 time(s).
>12/06/20 14:45:15 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 1 time(s).
>12/06/20 14:45:16 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 2 time(s).
>12/06/20 14:45:17 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 3 time(s).
>12/06/20 14:45:18 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 4 time(s).
>12/06/20 14:45:19 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 5 time(s).
>12/06/20 14:45:20 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 6 time(s).
>12/06/20 14:45:21 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 7 time(s).
>12/06/20 14:45:22 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 8 time(s).
>12/06/20 14:45:23 INFO ipc.Client: Retrying connect to server:
>localhost/127.0.0.1:54310. Already tried 9 time(s).
>ls: Call From XPS-L501X/127.0.1.1 to localhost:54310 failed on
>connection exception: java.net.ConnectException: Connection refused;
>For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
>
>could u temme why this error is coming ?????????


This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you.


--------------------

This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.




--------------------

This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.




RE: namenode starting error

Posted by Siddharth Tiwari <si...@live.com>.
Can you paste your namenode log here ?

*------------------------*

Cheers !!!

Siddharth Tiwari

Have a refreshing day !!!
"Every duty is holy, and devotion to duty is the highest form of worship of God.” 

"Maybe other people will try to limit me but I don't limit myself"


> From: are9004@nyp.org
> To: user@hive.apache.org; common-user@hadoop.apache.org
> Date: Sat, 7 Jul 2012 21:37:16 -0400
> Subject: Re: namenode starting error
> 
> Check your firewall settings, specifically if port 54310 is open. The
> other ports to look at are:
> 
> 50010
> 50020
> 50030
> 50060
> 50070
> 54311
> 
> On 6/20/12 5:22 AM, "soham sardar" <so...@gmail.com> wrote:
> 
> >the thing is i have updated my JAVA_HOME in both .bashrc and hadoop-env.sh
> >
> >
> >now the problem is when i try
> >jps is the output is
> >
> >6113 NodeManager
> >6799 DataNode
> >7562 Jps
> >7104 SecondaryNameNode
> >5728 ResourceManager
> >
> >and now except namenode ,all other nodes are working and when i try to
> >give
> >
> >hadoop fs -ls
> >
> >hduser@XPS-L501X:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/sbin$ hadoop
> >fs -ls
> >12/06/20 14:45:14 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 0 time(s).
> >12/06/20 14:45:15 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 1 time(s).
> >12/06/20 14:45:16 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 2 time(s).
> >12/06/20 14:45:17 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 3 time(s).
> >12/06/20 14:45:18 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 4 time(s).
> >12/06/20 14:45:19 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 5 time(s).
> >12/06/20 14:45:20 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 6 time(s).
> >12/06/20 14:45:21 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 7 time(s).
> >12/06/20 14:45:22 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 8 time(s).
> >12/06/20 14:45:23 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 9 time(s).
> >ls: Call From XPS-L501X/127.0.1.1 to localhost:54310 failed on
> >connection exception: java.net.ConnectException: Connection refused;
> >For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
> >
> >could u temme why this error is coming ?????????
> 
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you.
> 
> 
> --------------------
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.
> 
> 
> 
> 
> --------------------
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.
> 
> 
> 
 		 	   		  

RE: namenode starting error

Posted by yogesh dhari <yo...@live.com>.
Hi, 

have you formated your name node by using

hadoop namenode -format


Regards
Yogesh Kumar

> From: are9004@nyp.org
> To: user@hive.apache.org; common-user@hadoop.apache.org
> Date: Sat, 7 Jul 2012 21:37:16 -0400
> Subject: Re: namenode starting error
> 
> Check your firewall settings, specifically if port 54310 is open. The
> other ports to look at are:
> 
> 50010
> 50020
> 50030
> 50060
> 50070
> 54311
> 
> On 6/20/12 5:22 AM, "soham sardar" <so...@gmail.com> wrote:
> 
> >the thing is i have updated my JAVA_HOME in both .bashrc and hadoop-env.sh
> >
> >
> >now the problem is when i try
> >jps is the output is
> >
> >6113 NodeManager
> >6799 DataNode
> >7562 Jps
> >7104 SecondaryNameNode
> >5728 ResourceManager
> >
> >and now except namenode ,all other nodes are working and when i try to
> >give
> >
> >hadoop fs -ls
> >
> >hduser@XPS-L501X:/home/soham/cloudera/hadoop-2.0.0-cdh4.0.0/sbin$ hadoop
> >fs -ls
> >12/06/20 14:45:14 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 0 time(s).
> >12/06/20 14:45:15 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 1 time(s).
> >12/06/20 14:45:16 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 2 time(s).
> >12/06/20 14:45:17 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 3 time(s).
> >12/06/20 14:45:18 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 4 time(s).
> >12/06/20 14:45:19 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 5 time(s).
> >12/06/20 14:45:20 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 6 time(s).
> >12/06/20 14:45:21 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 7 time(s).
> >12/06/20 14:45:22 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 8 time(s).
> >12/06/20 14:45:23 INFO ipc.Client: Retrying connect to server:
> >localhost/127.0.0.1:54310. Already tried 9 time(s).
> >ls: Call From XPS-L501X/127.0.1.1 to localhost:54310 failed on
> >connection exception: java.net.ConnectException: Connection refused;
> >For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
> >
> >could u temme why this error is coming ?????????
> 
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you.
> 
> 
> --------------------
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.
> 
> 
> 
> 
> --------------------
> 
> This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message.  Thank you.
> 
> 
>