postgresql – Hive流不工作

前端之家收集整理的这篇文章主要介绍了postgresql – Hive流不工作前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我尝试按照 https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest#StreamingDataIngest-StreamingRequirements启用配置单元串流

我已经更改了所有配置属性以启用hive流,但hive Metastore服务运行时出现以下错误,

18/02/09 12:22:51错误compactor.Initiator:在compactor initiator的主循环中捕获异常,退出MetaException(消息:无法连接到事务数据库org.postgresql.util.PsqlException:ERROR:relation“compaction_queue “ 不存在

注意:我使用Postgresql用于JDBC Metastore和hive版本2.0.1

帮我解决这个错误并开始使用Hive Streaming.

解决方法

该表的定义(以及与ACID表/流接收有关的其他表)可以在 https://github.com/apache/hive/blob/branch-2.0/metastore/scripts/upgrade/postgres/hive-txn-schema-2.0.0.postgres.sql中找到.所有这些都是流式传输正常运行所必需的.

猜你在找的Postgre SQL相关文章