九、hive环境搭建 1. bin/hdfs dfs -mkdir /tmp bin/hdfs dfs -mkdir -p /user/hive/warehouse bin/hdfs dfs -chmod g+w /tmp bin/hdfs dfs -chmod g+w /user/hive/warehouse 2.配置hive-env.sh HADOOP_HOME=/opt/cdh/hadoop-2.6.0-cdh5.14.2 export HIVE_CONF_DIR=/opt/cdh/hive-1.1.0-cdh5.14.2/conf 3.配置hive-site.xml,