HADOOP cluster some issue for installation

Source: Internet
Author: User

Ha was built for Namenode, and then secondary Namenode was configured according to the network configuration.

But never seen from the log to start Secondnary Namenode, of course there is no process.

Find a lot of information, according to the information configuration, implementation

HDFs Getconf–secondarynamenodes

Incorrect configuration:secondary Namenode address dfs.namenode.secondary.http-address is not configured.

However, this parameter has been correctly configured in Hdfs-site.xml.

Perform

HDFs Secondarynamenode–format

The following error is reported:

15/08/01 21:25:56 FATAL Namenode. secondarynamenode:failed to start secondary namenode
Java.io.IOException:Cannot use Secondarynamenode on an HA cluster. The Standby Namenode would perform checkpointing.

This error prompted me to realize that in Ha case, do not need to do secondary namenode to do, standby Namendoe has done secondary namenode do.

Another mistake is to keep warning, the local library is not loaded, I have compiled and copied to the native folder, or have been reported this error,

Workaround: Start Export hadoop_root_logger=debug,console

Execute a command like this: HDFs Dfs–ls/

View the log, you can find specific errors, according to the error prompts to modify, usually the path is a problem or the wrong version.

HADOOP cluster some issue for installation

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.