HDP on Linux – Installation Forum

DisallowedDatanodeException

  • #10506
    vik onto
    Member

    Hi
    I finally install HDP on singel machine
    But I can not start HDFS
    Falls on
    2012-10-03 19:42:02,181 ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.protocol.DisallowedDatanodeException: Datanode denied communication with namenode: mydvm1067.devlab.ad: 50010

    How can I overcome it, help please.

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #10508
    Sasha J
    Moderator

    Hi Vik,
    After the install did you shut down the box? If you simply shut down the box without stopping the services first, the HMC dashboard will get out of sync. How are you trying to start HDFS, via the HMC?

    #10509
    Sasha J
    Moderator

    Hi Vik,
    Just to also add, this exception indicates communication from namenode to datanode was denied and is most likely due to firewalls blocking or selinux enabled, hence make sure to check on those. A list of ports used by hadoop can be found in our documentation here:
    http://docs.hortonworks.com/CURRENT/Appendix/Configuring_Ports/HDFS_Ports.htm

    HTH

    #10512
    vik onto
    Member

    Hi Sasha!
    thank you for you response.
    I didn’t shut down the machine after installation.
    I cann’t start HDFS via HMC becouse I also have a problem with HMC, but it’s something else,,,
    ( i get * RRDs directory ‘/var/lib/ganglia/rrds’ is not readable. Please adjust $conf[‘rrds’]. in /var/www/html/ganglia/eval_conf.php on line 81 ).
    and i check all port, everything looked fine, but datanode still not start
    : (

    #10513
    vik onto
    Member

    I stop the firewall and datanote start!!!!!!!!!!
    thank you very much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    #10514
    vik onto
    Member

    datanote stoped and still get
    DisallowedDatanodeException: Datanode denied communication with namenode:
    :(

    #10537
    vik onto
    Member

    Hi Sasha!
    I run gsInstall shells on redhat 6.
    I run all scripts with user root
    may be all my problems because this?

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

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.