Problems with CM+CDH installation

Source: Internet
Author: User
Tags solr zookeeper sqoop

1, it is in the installation of CDH can not be installed successfully, only restart, the following to share an artifact, according to this script should be almost able to uninstall clean, and then reinstall, write a script, the content is as follows, life-saving artifact:

#!/bin/Bashsudo/usr/share/cmf/uninstall-cloudera-Manager.shsudo Service Cloudera-scm-Server Stopsudo Service Cloudera-scm-server-db Stopsudo Service Cloudera-scm-Agent Stopsudo Yum remove Cloudera-manager-agentsudo Yum Remove Cloudera-manager-serversudo Yum Remove Cloudera-manager-server-db-2sudo yum remove' cloudera-manager-* ' bigtop-utils bigtop-jsvc bigtop-tomcat hadoop hadoop-hdfs Hadoop-httpfs hadoop-mapreduce Hadoop-yarn hadoop-client hadoop-0.20-mapreduce hue-plugins hbase hive Oozie oozie-client Pig zookeeper Hue Impala impala- Shell solr-Serversudo Yum Remove' cloudera-manager-* ' Avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 Hadoop-httpfs HBASE-SOLR hive-hbase Hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins Hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper Impala Impala-shell Kite Llama mahout Oozie Pig Pig-udf-datafu Search Sentry Solr-mapreduce spark-python sqoop sqoop2 whirr#sudo zypper Remove' cloudera-manager-* ' bigtop-utils bigtop-jsvc bigtop-tomcat hadoop hadoop-hdfs Hadoop-httpfs hadoop-mapreduce Hadoop-yarn hadoop-client hadoop-0.20-mapreduce hue-plugins hbase hive Oozie oozie-client Pig zookeeper Hue Impala impala- Shell solr-Server#sudo zypper Remove' cloudera-manager-* ' Avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 Hadoop-httpfs HBASE-SOLR hive-hbase Hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins Hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper Impala Impala-shell Kite Llama mahout Oozie Pig Pig-udf-datafu Search Sentry Solr-mapreduce spark-python sqoop sqoop2 whirrsudo yum clean all#sudo zypper Remove' Cloudera-manager-* ' forU in CLOUDERA-SCM flume Hadoop HDFs hbase hive Httpfs Hue Impala llama mapred Oozie solr spark sqoop SQOOP2 yarn Zookeeper ; Dosudo kill $ (ps-u $u-O pid=); Doneumount/var/run/cloudera-scm-agent/Processsudo RM-rf/usr/share/cmf/var/lib/cloudera*/var/cache/yum/cloudera*/var/log/cloudera*/var/run/cloudera*/var/run/hdfs*sudo rm/tmp/. Scm_prepare_node.locksudo RM-rf/var/lib/flume-ng/var/lib/hadoop*/var/lib/hue/var/lib/navigator/var/lib/oozie/var/lib/solr/var/lib/sqoop*/ var/lib/zookeeper/var/lib/hbase/var/lib/hive/var/lib/Impalasudo RM-rf/dfs/mapred/Yarnsudo RM-rf/var/log/hadoop*/var/log/hbase/var/log/impalad/var/log/zookeeper/var/cache/yum/x86_64/6/cloudera*

Problems with CM+CDH 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.