我更改了所有配置属性以启用配置单元格流,但hive Metastore服务运行时出现以下错误,
18/02/09 12:22:51 ERROR compactor.Initiator: Caught an exception in the main loop of compactor initiator, exiting MetaException(message:Unable to connect to transaction database org.postgresql.util.PSQLException: ERROR: relation "compaction_queue" does not exist
注意:我使用PostgreSQL用于JDBC Metastore和hive版本2.0.1
帮我解决此错误并开始使用Hive Streaming。
答案 0 :(得分:1)
可以在https://github.com/apache/hive/blob/branch-2.0/metastore/scripts/upgrade/postgres/hive-txn-schema-2.0.0.postgres.sql中找到此表的定义(以及与ACID表/流接收有关的其他表)。所有这些都是流式传输正常运行所必需的。