cp hive-exec-log4j2.properties.template hive-exec-log4j2.properties 其中hive-env.sh添加环境变量: export JAVA_HOME=/usr/java/jdk1.8.0_162 (你自己安装的jdk路径) export HIVE2_HOME=/opt/cloudera/hive-2.3.7 export HIVE2_CONF_DIR=/opt/cloudera/hive2.3.7/conf 1. 2. 3. 4. 5. 6. 7. 8...