Hive意外的DataOperationType:UNSET

问题描述 投票:0回答:2

试图从storm-hive客户端保留hive表,在HiveMetastoreServer日志中获取以下日志。

020-02-26 23:20:27,748 ERROR org.apache.thrift.server.TThreadPoolServer: [pool-8-thread-178]: Error occurred during processing of message.
java.lang.IllegalStateException: Unexpected **DataOperationType: UNSET** agentInfo=Unknown txnid:1641
    at org.apache.hadoop.hive.metastore.txn.TxnHandler.enqueueLockWithRetry(TxnHandler.java:906) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]
    at org.apache.hadoop.hive.metastore.txn.TxnHandler.lock(TxnHandler.java:781) ~[hive-exec-2.1.1-cdh6.3.2.jar:2.1.1-cdh6.3.2]

hadoop hive apache-storm unset
2个回答
0
投票

尝试使用explode代替unnest!检查一下:https://stackoverflow.com/a/51846380/9185215


0
投票

我已将Storm-hive客户端从2.1.0降级到1.2.3。并且还从Storm-hive 1.2.3中排除了hive依赖罐,并添加了hive客户端版本2.1.1以匹配我的cloudera环境。

© www.soinside.com 2019 - 2024. All rights reserved.