运行hive的beelin2时候going to print operations logs
printed operations logs
检查HiveServer2的配置文件hive-site.xml,确保以下属性被正确设置:
<property>
<name>hive.async.log.enabled</name>
<value>false</value>
</property>
确保HiveServer2的配置中设置了以下属性:
hive.server2.logging.operation.enabled=true
hive.server2.logging.operation.log.location=/var/log/hive/operation_logs
hive.server2.logging.operation.verbose=undefined
hive.server2.logging.operation.level=execution
如果您使用的是Hive 0.14及更高版本,还可以尝试设置以下属性:
hive.server2.logging.operation.verbose=true