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 Zaki Syed <za...@gmail.com> on 2012/01/25 00:34:14 UTC

hadoop dfs -ls hdfs://Atlas.sollix.com:8020/ fails

Hi Everybody

I installed the hadoop on a 5 node cluster using the Cloudera's SCM.  The
following is the setup.

Atlas.prodigy.com -- Namenode and Data Node
Pan.prodigy.com -- Secondary Namenode and Data Node
Prometheus.prodigy.com-- Data Node
Ulysys.prodigy.com--Data Node
Blade.prodigy.com -- Data Node

The Installation has created a user named hdfs on all the five
installations.  I logged in using the root user and changed to hdfs user
using #su - hdfs and executing the below command on the Namenode and it is
listing me the HDFS file system files like below.

hdfs@Atlas> hadoop fs -ls hdfs://Atlas.prodigy.com:8020/

Found 4 items
drwxr-xr-x   - hbase hbase           0 2012-01-11 09:47 /hbase
drwxr-xr-x   - hdfs  hadoop          0 2012-01-24 07:10 /home
drwxrwxrwt   - hdfs  hadoop          0 2011-12-19 09:58 /tmp
drwxr-xr-x   - hdfs  hadoop          0 2011-09-22 05:31 /user

Where as when i execute the same command on the other nodes terminal it is
giving me the following error.

hdfs@Pan> hadoop fs -ls hdfs://Atlas.prodigy.com:8020/

12/01/24 10:18:52 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 0 time(s).
12/01/24 10:18:53 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 1 time(s).
12/01/24 10:18:54 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 2 time(s).
12/01/24 10:18:55 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 3 time(s).
12/01/24 10:18:56 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 4 time(s).
12/01/24 10:18:57 INFO ipc.Client: Retrying connect to server:
Atlas.prodigy.com/10.1.151.122:8020. Already tried 5 time(s).

Also I am not getting any information when i execute the report on any of
the nodes

hdfs@Atlas:~> hadoop dfsadmin -report
hdfs@Atlas:~>

I haven't changed any settings after the installation. I am able to login
to the admin console and see that all the nodes are in good state.

I hope that i explained the problem clearly and expect some suggestion as
soon as possible

Thanks in Advance
      Zaki

Re: hadoop dfs -ls hdfs://Atlas.sollix.com:8020/ fails

Posted by Raj V <ra...@yahoo.com>.
Do you have firewall enabled on any of these systems?

Raj


>________________________________
> From: Zaki Syed <za...@gmail.com>
>To: common-user@hadoop.apache.org 
>Sent: Tuesday, January 24, 2012 3:34 PM
>Subject: hadoop dfs -ls hdfs://Atlas.sollix.com:8020/ fails
> 
>Hi Everybody
>
>I installed the hadoop on a 5 node cluster using the Cloudera's SCM.  The
>following is the setup.
>
>Atlas.prodigy.com -- Namenode and Data Node
>Pan.prodigy.com -- Secondary Namenode and Data Node
>Prometheus.prodigy.com-- Data Node
>Ulysys.prodigy.com--Data Node
>Blade.prodigy.com -- Data Node
>
>The Installation has created a user named hdfs on all the five
>installations.  I logged in using the root user and changed to hdfs user
>using #su - hdfs and executing the below command on the Namenode and it is
>listing me the HDFS file system files like below.
>
>hdfs@Atlas> hadoop fs -ls hdfs://Atlas.prodigy.com:8020/
>
>Found 4 items
>drwxr-xr-x   - hbase hbase           0 2012-01-11 09:47 /hbase
>drwxr-xr-x   - hdfs  hadoop          0 2012-01-24 07:10 /home
>drwxrwxrwt   - hdfs  hadoop          0 2011-12-19 09:58 /tmp
>drwxr-xr-x   - hdfs  hadoop          0 2011-09-22 05:31 /user
>
>Where as when i execute the same command on the other nodes terminal it is
>giving me the following error.
>
>hdfs@Pan> hadoop fs -ls hdfs://Atlas.prodigy.com:8020/
>
>12/01/24 10:18:52 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 0 time(s).
>12/01/24 10:18:53 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 1 time(s).
>12/01/24 10:18:54 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 2 time(s).
>12/01/24 10:18:55 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 3 time(s).
>12/01/24 10:18:56 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 4 time(s).
>12/01/24 10:18:57 INFO ipc.Client: Retrying connect to server:
>Atlas.prodigy.com/10.1.151.122:8020. Already tried 5 time(s).
>
>Also I am not getting any information when i execute the report on any of
>the nodes
>
>hdfs@Atlas:~> hadoop dfsadmin -report
>hdfs@Atlas:~>
>
>I haven't changed any settings after the installation. I am able to login
>to the admin console and see that all the nodes are in good state.
>
>I hope that i explained the problem clearly and expect some suggestion as
>soon as possible
>
>Thanks in Advance
>      Zaki
>
>
>