在Hadoop上运行的所有配置单元查询中获取错误。
只需从存在的表中运行select语句并获得以下结果:
Fetching results ran into the following error(s):
Couldn't find log associated with operation handle:
OperationHandle[opType=EXECUTE_STATEMENT,
getHandleIdentifier()=263df9c3-c076-454f-a025-23f5b919e957]
该查询的随附日志为:
最佳答案
即(“hive.server2.logging.operation.log.location”)指向的位置不存在,无法写入日志。
查看 OperationManager.java中的代码
OperationLog operationLog = getOperation(opHandle).getOperationLog();
if (operationLog == null) {
throw new HiveSQLException("Couldn't find log associated with operation handle: " + opHandle);
}
关于hadoop - 在所有查询上的配置单元错误: Couldn't find log associated with operation handle,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32090918/