Installed successfully, but dfsadmin report says zero nodes

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 3 voices, and was last updated by  Seth Lyubich 1 year, 8 months ago.

  • Creator
  • #29640

    Sudhakar GS

    I installed HDP for Windows on a total of 4 nodes successfully. However, when i go to the NameNode web interface to check DFS health, it says something as below.

    6 files and directories, 0 blocks = 6 total. Heap Size is 41.38 MB / 3.87 GB (1%)

    Configured Capacity : 0 KB
    DFS Used : 0 KB
    Non DFS Used : 0 KB
    DFS Remaining : 0 KB
    DFS Used% : 100 %
    DFS Remaining% : 0 %
    Live Nodes : 0
    Dead Nodes : 0
    Decommissioning Nodes : 0
    Number of Under-Replicated Blocks : 0

    There are no datanodes in the cluster.

    I get the same when do ‘hadoop dfsadmin -report’ on the command prompt, i get the same report.

    On another note, the Slaves and Masters file in the conf directory has only one entry ‘localhost’. I tried changing the Slaves file to include the hostnames of the slaves and restarted the services, but still no luck.

    Quite stuck here. Appreciate any help I can get. Thanks.


Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
  • #29773

    Seth Lyubich

    Hi Sudhakar,

    Please make sure that your nodes comunicate internally using internal hostnames. You can test by making sure that port 8020 is reachable on NameNode host from Datanode machine. You can try telnet with internal ip to perform the test. Please let us know if this is useful.



    Sudhakar GS

    Hi Ted,

    Thanks for the response. I updated the Slaves file to include the Fully Qualified Domain Name of the slave. I restarted both the NameNode and Job Tracker services. No luck.

    I also updated the Masters file on the slave to include the FQDN of the Master. I then restarted DataNode and Task Tracker services. Still no luck.

    BTW, I am trying this on AWS using their Free tier EC2 instances.

    The hostnames of the Slave and Master are of the format

    Please let me know if you need more info. Thanks.




    Hi Sudhakar,

    After making the changes to the slaves file did you restart HDFS and MapReduce?


Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.