CDH installation failed, how to reinstall

Source: Internet
Author: User

1> removing the UUID of the agent node

# rm-rf/opt/cm-5.4.7/lib/cloudera-scm-agent/*

2> emptying the master node cm database

Go to the MySQL database of the master node, and then drop db cm;

3> Removing Agent node Namenode and Datanode node information

# rm-rf/opt/dfs/nn/*

# rm-rf/opt/dfs/dn/*

4> re-initializing the CM database on the primary node

#/opt/cm-5.4.7/share/cmf/schema/scm_prepare_database.sh MySQL cm-hlocalhost-uroot-p123456--scm-host localhost SCM SCM SCM

5> Execute startup script

Master node: #/opt/cm-5.4.7/etc/init.d/cloudera-scm-server Start

Agent node: #/opt/cm-5.4.7/etc/init.d/cloudera-scm-agent Start

After a while, the CDH installation can be re-installed via the master node's 7180 port http://Master node Ip:7180/cmf/login.

For offline installation of CDH, refer to: CentOS offline installation Cloudera Manager 5 and CDH5 (version 5.1.3) detailed documentation

Note: MySQL's JDBC driver is required during the installation of Hive and Oozie.

the copy location of Hive is : # Cp/opt/cm-5.4.7/share/cmf/lib/mysql-connector-java-5.1.33-bin.jar /opt/cloudera/ parcels/cdh-5.4.7-1.cdh5.4.7.p0.3/lib/hive/lib/

the copy location of the Oozie is : # Cp/opt/cm-5.4.7/share/cmf/lib/mysql-connector-java-5.1.33-bin.jar /var/lib/oozie/

CDH installation failed, how to reinstall

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.