Kylin搭建需要添加的环境变量

在/etc/profile中新增环境变量配置:
export HADOOP_USER_NAME=hdfs
export SPARK_HOME=/opt/cloudera/parcels/CDH/lib/spark
export HBASE_HOME=/opt/cloudera/parcels/CDH/lib/hbase
export HIVE_HOME=/opt/cloudera/parcels/CDH/lib/hive
export KAFKA_HOME=/opt/cloudera/parcels/KAFKA/lib/kafka
export HADOOP_HOME=/opt/cloudera/parcels/CDH/lib/hadoop
export KYLIN_HOME=/opt/cloudera/parcels/kylin
export HBASE_CONF_DIR=$HBASE_HOME/conf
export KYLIN_CONF_DIR=$KYLIN_HOME/conf
export HADOOP_CONF_DIR=/opt/cloudera/parcels/CDH/lib/hadoop/etc/hadoop
export YARN_CONF_DIR=/opt/cloudera/parcels/hadoop-yarn/conf
export HIVE_CONF_DIR=$HIVE_HOME/conf
export SPARK_CONF_DIR=$SPARK_HOME/conf

 

上述路径根据安装的组件路径自行修改;

你可能感兴趣的:(大数据挖掘与大数据应用案例)