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

HDFS Forum

HDFS start failed

  • #13786

    I have three nodes on CentOS6.3, and I use hmc to manage my installation.
    the claster install was finished succesfully, but failed at hdsf start.
    the failed log is as follow:
    [2013:01:18 07:12:27][INFO][PuppetInvoker][PuppetInvoker.php:342][waitForResults]: 1 out of 1 nodes have reported for txn 3-50-49
    [2013:01:18 07:12:28][INFO][PuppetInvoker][PuppetInvoker.php:237][createGenKickWaitResponse]: Response of genKickWait:
    Array
    (
    [result] => 0
    [error] =>
    [nokick] => Array
    (
    )

    [failed] => Array
    (
    [0] => hdp01.tibco.com
    )

    [success] => Array
    (
    )

    [timedoutnodes] => Array
    (
    )

    )

    [2013:01:18 07:12:28][INFO][ServiceComponent:NAMENODE2][ServiceComponent.php:254][start]: Puppet kick response for starting component on cluster=hadoop, servicecomponent=NAMENODE2, txn=3-50-49, response=Array
    (
    [result] => 0
    [error] =>
    [nokick] => Array
    (
    )

    [failed] => Array
    (
    [0] => hdp01.tibco.com
    )

    [success] => Array
    (
    )

    [timedoutnodes] => Array
    (
    )

    )

    [2013:01:18 07:12:28][INFO][ServiceComponent:NAMENODE2][ServiceComponent.php:270][start]: Persisting puppet report for starting NAMENODE2
    [2013:01:18 07:12:28][ERROR][ServiceComponent:NAMENODE2][ServiceComponent.php:283][start]: Puppet kick failed, no successful nodes
    [2013:01:18 07:12:28][INFO][OrchestratorDB][OrchestratorDB.php:610][persistTransaction]: persist: 3-50-49:FAILED:NameNode start:FAILED

    it seemed that puppet kick failed.bu it can kick suceesfully in cluster install.
    any idieas?
    thanks.

  • Author
    Replies
  • #13787

    I see the puppet_apply.log on hdp01.tibco.com:
    Fri Jan 18 17:42:05 +0800 2013 /Stage[2]/Hdp2-hadoop::Namenode/Hdp2-hadoop::Service[namenode]/Hdp2::Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/returns (notice): mkdir: cannot create directory `/hdfs’: Permission denied
    Fri Jan 18 17:42:05 +0800 2013 /Stage[2]/Hdp2-hadoop::Namenode/Hdp2-hadoop::Service[namenode]/Hdp2::Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/returns (notice): chown: cannot access `/hdfs’: No such file or directory
    Fri Jan 18 17:42:05 +0800 2013 /Stage[2]/Hdp2-hadoop::Namenode/Hdp2-hadoop::Service[namenode]/Hdp2::Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/Exec[su – hdfs -c ‘/usr/lib/hadoop/sbin/hadoop-daemon.sh –config /etc/hadoop/conf start namenode’]/returns (notice): mkdir: cannot create directory `/hdfs’: Permission denied

    I choose “/” as mount point. is there anything wrong?

    #25366
    tedr
    Member

    Hi Bian,

    Thanks for trying HDP2.0.

    Please try it with a directory under / as the mount point such as /hadoop.

    Thanks/
    Ted

The topic ‘HDFS start failed’ is closed to new 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.