這個異常的出現是由於hive-site-xml中的hive.server2.logging.operation.log.location屬性未配置正確:apache
修改成:oop
<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中進行建立配置。spa