Couldn't find log associated with operation handle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier ()=5687ff62-aa71-4b47-af6c-89f6a3f7a1fe]

  这个异常的出现是因为hive-site-xml中的hive.server2.logging.operation.log.location属性未配置正确:

  修改为:

<property>
    <name>hive.server2.logging.operation.log.location</name>
    <value>D:/apache-hive-2.1.1-bin/hive/iotmp/operation_logs</value>
    <description>Top level directory where operation logs are stored if logging functionality is enabled</description>
</property>

  D:/apache-hive-2.1.1-bin/hive/iotmp需要在hadoop中进行创建配置。

posted @ 2018-03-07 17:20  ngulc  阅读(2579)  评论(0编辑  收藏  举报