hive报错:Couldn't find log associated with operation handle: OperationHandle

hive client抛出异常:

org.apache.hive.service.cli.HiveSQLException: Couldn't find log associated with operation handle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier()=553fc654-d0ac-4869-8018-feaaf36b132d]

 

解决:

hive client执行:set hive.server2.logging.operation.log.location;

查看指向目录:

创建对应目录:

mkdir -p /var/log/hive/operation_logs

修改用户权限:

chown -R  hive:hive /var/log/hive/operation_logs/

chmod -R 777 /var/log/hive/operation_logs/

你可能感兴趣的:(hive)