我在 SnappyData 0.9 中创建了一个数据库模式,其中包含一些基于行的表,而没有连接配置单元元数据存储。稍后,我在 hive-site.xml 文件中添加 hive.metastore.uris 属性并让 SnappyData 连接到它。令我惊讶的是,领导服务抱怨“检测到目录不一致”并开始删除所有表。
17/07/12 13:52:36.830 CDT HiveMetaStore Client-0<tid=0x17> INFO metastore: Trying to connect to metastore with URI thrift://hmsserver:9083
17/07/12 13:52:36.960 CDT HiveMetaStore Client-0<tid=0x17> INFO metastore: Connected to metastore.
17/07/12 13:52:37.156 CDT serverConnector<tid=0x17> INFO snappystore: info: Catalog inconsistency detected: following tables in datadictionary are not in Hive metastore: schema = DAS tables = [ACS_ACCESS_RIGHT, SEC_PRIVILEGE_TYPE, SEC_USER, SEC_USER_PRIVILEGE, LOC_STORE, LOCATION]
17/07/12 13:52:37.156 CDT serverConnector<tid=0x17> INFO snappystore: info: FabricDatabase.dropTables processing DAS.ACS_ACCESS_RIGHT
17/07/12 13:52:37.159 CDT serverConnector<tid=0x17> INFO snappystore: info: Dropping table DAS.ACS_ACCESS_RIGHT
...
所以,我的问题是 - 我可以让 SnappyData 行基表和配置单元表在 SnappyData 中共存吗?