Ubuntu 14.10 under Hadoop error set

Source: Internet
Author: User
Tags zookeeper

1 FATAL org.apache.hadoop.ha.ZKFailoverController:Unable to start failover controller. Parent Znode does not exist.

This error causes the Dfszkfailovercontroller to not be able to be started, so that the active Node cannot be elected, resulting in Hadoop two namenode are standby, I do

Stop all Hadoop processes and reformat the zookeeper

HDFs Zkfc-formatzk

2 immediately after the last question, and then reformat the zookeeper, I found yarn can not start

2015-08-05 19:00:33,718 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore:Exception whileexecuting a ZK operation.org.apache.zookeeper.keeperexception$nonodeexception:keepererrorcode=Nonode at Org.apache.zookeeper.KeeperException.create (Keeperexception.java:111) at Org.apache.zookeeper.ZooKeeper.multiInternal (Zookeeper.java:949) at Org.apache.zookeeper.ZooKeeper.multi (Zookeeper.java:915) at org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$4.run (zkrmstatestore.java:937) at org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$4.run (zkrmstatestore.java:934) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$zkaction.runwithcheck ( Zkrmstatestore.java:1076) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$zkaction.runwithretries ( Zkrmstatestore.java:1095) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.doMultiWithRetries ( Zkrmstatestore.java:934) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.doMultiWithRetries ( Zkrmstatestore.java:948) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.removeRMDTMasterKeyState ( Zkrmstatestore.java:844) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeRMDTMasterKey ( Rmstatestore.java:733) at Org.apache.hadoop.yarn.server.resourcemanager.security.RMDelegationTokenSecretManager.removeStoredMasterKey ( Rmdelegationtokensecretmanager.java:99) at Org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.removeExpiredKeys ( Abstractdelegationtokensecretmanager.java:371) at Org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.rollMasterKey ( Abstractdelegationtokensecretmanager.java:348) at org.apache.hadoop.security.token.delegation.abstractdelegationtokensecretmanager$ Expiredtokenremover.run (Abstractdelegationtokensecretmanager.java:646) at Java.lang.Thread.run (Thread.java:745)2015-08-05 19:00:33,718 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore:Maxed out ZK Retries. Giving up!2015-08-05 19:00:33,718 INFO Org.apache.hadoop.yarn.server.resourcemanager.security.RMDelegationTokenSecretManager:removing Master Key with KeyID 552015-08-05 19:00:33,738 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore: Exception whileexecuting a ZK operation.org.apache.zookeeper.keeperexception$nonodeexception:keepererrorcode=Nonode at Org.apache.zookeeper.KeeperException.create (Keeperexception.java:111) at Org.apache.zookeeper.ZooKeeper.multiInternal (Zookeeper.java:949) at Org.apache.zookeeper.ZooKeeper.multi (Zookeeper.java:915) at org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$4.run (zkrmstatestore.java:937) at org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$4.run (zkrmstatestore.java:934) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$zkaction.runwithcheck ( Zkrmstatestore.java:1076) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.zkrmstatestore$zkaction.runwithretries ( Zkrmstatestore.java:1095) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.doMultiWithRetries ( Zkrmstatestore.java:934) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.doMultiWithRetries ( Zkrmstatestore.java:948) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore.removeRMDTMasterKeyState ( Zkrmstatestore.java:844) at Org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeRMDTMasterKey ( Rmstatestore.java:733) at Org.apache.hadoop.yarn.server.resourcemanager.security.RMDelegationTokenSecretManager.removeStoredMasterKey ( Rmdelegationtokensecretmanager.java:99) at Org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.removeExpiredKeys ( Abstractdelegationtokensecretmanager.java:371) at Org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.rollMasterKey ( Abstractdelegationtokensecretmanager.java:348) at org.apache.hadoop.security.token.delegation.abstractdelegationtokensecretmanager$ Expiredtokenremover.run (Abstractdelegationtokensecretmanager.java:646) at Java.lang.Thread.run (Thread.java:745)

However, this problem is still due to zookeeper, but I do not have any changes, the new start yarn ... It worked.

start-yarn.sh

Ubuntu 14.10 under Hadoop error set

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.