Hadoop installation Error

Source: Internet
Author: User
Tags zookeeper

When installing Hadoop ha, format ZK, execute HDFS ZKFC–FORMATZK command error as follows:


16/09/08 20:41:53 INFO Zookeeper. Zookeeper:initiating Client connection, connectstring=>hddata1:2181,hddata2:2181,hddata3:2181 sessionTimeout= Watcher[email Protected]5dd308e3

16/09/08 20:41:53 FATAL Tools. Dfszkfailovercontroller:got a fatal error, exiting now

Java.net.UnknownHostException: >hddata1

At Java.net.Inet4AddressImpl.lookupAllHostAddr (Native Method)

At Java.net.inetaddress$1.lookupallhostaddr (inetaddress.java:901)

At Java.net.InetAddress.getAddressesFromNameService (inetaddress.java:1295)

At JAVA.NET.INETADDRESS.GETALLBYNAME0 (inetaddress.java:1248)

At Java.net.InetAddress.getAllByName (inetaddress.java:1164)

At Java.net.InetAddress.getAllByName (inetaddress.java:1098)

At Org.apache.zookeeper.client.statichostprovider.<init> (statichostprovider.java:61)

At Org.apache.zookeeper.zookeeper.<init> (zookeeper.java:445)

At Org.apache.zookeeper.zookeeper.<init> (zookeeper.java:380)

At Org.apache.hadoop.ha.ActiveStandbyElector.getNewZooKeeper (activestandbyelector.java:631)

At Org.apache.hadoop.ha.ActiveStandbyElector.createConnection (activestandbyelector.java:775)

At Org.apache.hadoop.ha.activestandbyelector.<init> (activestandbyelector.java:229)

At Org.apache.hadoop.ha.ZKFailoverController.initZK (zkfailovercontroller.java:350)

At Org.apache.hadoop.ha.ZKFailoverController.doRun (zkfailovercontroller.java:191)

At org.apache.hadoop.ha.zkfailovercontroller.access$000 (zkfailovercontroller.java:61)

At Org.apache.hadoop.ha.zkfailovercontroller$1.run (zkfailovercontroller.java:172)

At Org.apache.hadoop.ha.zkfailovercontroller$1.run (zkfailovercontroller.java:168)

At Org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal (securityutil.java:415)

At Org.apache.hadoop.ha.ZKFailoverController.run (zkfailovercontroller.java:168)

At Org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main (dfszkfailovercontroller.java:181)

Who has encountered this problem, trouble to help solve the next

Hadoop installation Error

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.