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

Switch to Threaded View
HDFS, mail # user - HDFS help


Copy link to this message
-
Re: HDFS help
Harsh J 2012-04-29, 12:52
Hello Pedamallu,

Your NameNode isn't serving on the right interface. What is your
fs.default.name? Clearly doesn't seem to be listening on
domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191

Also, consider using Apache Whirr when using Hadoop+EC2:
http://whirr.apache.org - Should make your life much easier.

On Wed, Apr 25, 2012 at 7:15 PM, Pedamallu Chandra Sekhar
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am installed hadoop 1.0.2 on the Amazon EC2 and created the AMI. Then, i
> logged into the instance i created from the AMI.
>
> Then, i try to run the hadoop fs -ls command and getting the following
> error.
>
> Please help me in this regard, what am i doing wrong?
>
> [root@domU-12-31-39-0A-28-31 conf]# hadoop fs -ls
> Warning: $HADOOP_HOME is deprecated.
>
> 12/04/25 09:38:46 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found
> in the classpath. Usage of hadoop-site.xml is deprecated. Instead use
> core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of
> core-default.xml, mapred-default.xml and hdfs-default.xml respectively
> 12/04/25 09:38:47 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.
> compute-1.internal/10.211.43.191:50001. Already tried 0 time(s).
> 12/04/25 09:38:48 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 1 time(s).
> 12/04/25 09:38:49 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 2 time(s).
> 12/04/25 09:38:50 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 3 time(s).
> 12/04/25 09:38:51 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 4 time(s).
> 12/04/25 09:38:52 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 5 time(s).
> 12/04/25 09:38:53 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 6 time(s).
> 12/04/25 09:38:54 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 7 time(s).
> 12/04/25 09:38:55 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 8 time(s).
> 12/04/25 09:38:56 INFO ipc.Client: Retrying connect to server:
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001. Already tried
> 9 time(s).
> Bad connection to FS. command aborted. exception: Call to
> domU-12-31-39-0A-28-31.compute-1.internal/10.211.43.191:50001 failed on
> connection exception: java.net.ConnectException: Connection refused
>
> Thanks
> Chandra

--
Harsh J