Org.apache.hadoop.ipc.Client:Retrying connect to Server exception resolution

Source: Internet
Author: User

Check that Datanode is not connected to Namenode.

Check whether the configuration of each node in etc/hosts has 127.0.1.1 xxxxxx. If you have to block it or remove it, restart each node.

Cause: 127.0.1.1 is a local loopback in Debian. This causes problems with Hadoop parsing. This setting should be left when you do a pseudo-distributed Hadoop cluster.

If the same problem occurs in the same way as above, or if the Etc/hosts directory does not have 127.0.1.1 settings.

You can add the following to the Conf/core-site.xml (0.19.2 version of Conf/hadoop-site.xml)

<property>       <name>hadoop.tmp.dir</name>       <value>/var/log/hadoop/tmp</value >       <description>a Base for other temporary directories</description>  </property>


After you restart Hadoop, reformat the namenode.

The reason is: Hadoop default configuration is to put some TMP files in the/tmp directory, after rebooting the system, the TMP directory is cleared, so error

Org.apache.hadoop.ipc.Client:Retrying connect to Server exception resolution

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.