gpt4 book ai didi

postgresql - hive 流式传输不起作用

转载 作者:可可西里 更新时间:2023-11-01 14:23:15 25 4
gpt4 key购买 nike

我尝试按照
https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest#StreamingDataIngest-StreamingRequirements 启用配置单元流式传输

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

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

注意:我将 PostgreSQL 用于 JDBC Metastore 和 Hive 版本 2.0.1

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

最佳答案

可以在 https://github.com/apache/hive/blob/branch-2.0/metastore/scripts/upgrade/postgres/hive-txn-schema-2.0.0.postgres.sql 中找到此表的定义(以及其他与 ACID 表/流媒体摄取相关的内容) .所有这些都是流媒体正常运行所必需的。

关于postgresql - hive 流式传输不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48700339/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com