运行hive的beelin2时候going to print operations logs printed operations logs

运行hive的beelin2时候going to print operations logs
printed operations logs

运行hive的beelin2时候going to print operations logs printed operations logs_第1张图片
检查HiveServer2的配置文件hive-site.xml,确保以下属性被正确设置:


    hive.async.log.enabled
    false

确保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

你可能感兴趣的:(hive,hadoop,数据仓库)