发布于 2018-05-03 01:35:01
请确保在启用Drill的配置单元存储插件之前,已执行schematool derby -initSchema for Hive metastore 2.1版(或更高版本):https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool
实际上,向插件添加datanucleus.schema.autoCreateAll true和hive.metastore.schema.verification: false属性可能会对您有所帮助,但不推荐用于生产目的:https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L974
注意:它们的默认值取决于您使用的配置单元的版本。
如果您正确地配置了配置单元元存储区,那么Apache文档中的配置应该可以为您工作:https://drill.apache.org/docs/hive-storage-plugin/#hive-remote-metastore-configuration
https://stackoverflow.com/questions/50128285
复制相似问题