The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Windows – Installation Forum

Installed successfully, but dfsadmin report says zero nodes

  • #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.


  • Author
  • #29648

    Hi Sudhakar,

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


    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.


    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.


The forum ‘HDP on Windows – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.