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