一、CDH自身组件
1、cloudera-scm-server
/etc/cloudera-scm-server/
2、cloudera-scm-agent
/etc/cloudera-scm-agent/
二、Hadoop生态组件
hadoop组件启动的脚本文件:
/etc/alternatives/
hadoop生态组件执行路径:
/opt/cloudera/parcels/CDH/bin/
hadoop生态组件依赖包路径:
/opt/cloudera/parcels/CDH/lib/
1、hadoop
配置文件:/etc/hadoop/conf 执行文件:/opt/cloudera/parcels/CDH/bin/hadoop
2、hive
配置文件:/etc/hive/conf 执行文件:/opt/cloudera/parcels/CDH/bin/hive
3、hbase
配置文件:/etc/hbase/conf 执行文件:/opt/cloudera/parcels/CDH/bin/hbase
4、zookeeper
配置文件:/etc/zookeeper/conf 执行文件:/opt/cloudera/parcels/CDH/bin/zookeeper
5、spark
配置文件:/etc/spark/conf 执行文件:/opt/cloudera/parcels/CDH/bin/spark
三、CDH 加载的环境变量
代码语言:javascript复制JAVA_HOME=/usr/java/jdk1.8.0_181-cloudera
HUE_HOME=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hue
HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/530-hue-KT_RENEWER
HADOOP_HOME=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hadoop
HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/530-hue-KT_RENEWER/yarn-conf
HIVE_HOME=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hive
HIVE_DEFAULT_XML=/etc/hive/conf.dist/hive-default.xml
HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/530-hue-KT_RENEWER/hive-conf
HBASE_HOME=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/hbase
PIG_HOME=/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/lib/pig
HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/530-hue-KT_RENEWER/hbase-conf
CONF_DIR=/var/run/cloudera-scm-agent/process/530-hue-KT_RENEWER
代码语言:javascript复制HADOOP_HOME /opt/cloudera/parcels/CDH/lib/hadoop
HADOOP_CONF_DIR /etc/hadoop/conf
HADOOP_COMMON_HOME /opt/cloudera/parcels/CDH/lib/hadoop
HADOOP_HDFS_HOME /opt/cloudera/parcels/CDH/lib/hadoop-hdfs
HIVE_HOME /opt/cloudera/parcels/CDH/lib/hive
HBASE_HOME /opt/cloudera/parcels/CDH/lib/hbase
YARN_HOME /opt/cloudera/parcels/CDH/lib/hadoop-yarn
HADOOP_MAPRED_HOME /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce
ZOOKEEPER_HOME /opt/cloudera/parcels/CDH/lib/zookeeper