Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled
原因:phoenix映射失败
解决方案:
phoenix的表面上存储数据,但是phoenix底层是hbase,实际上数据是存储在hbase中,hbase中有表,表上有name space,相当于mysql中的数据库
在服务端加了phoenix.schema.isNamespaceMappingEnabled enabled这个配置
现在程序是在客户端执行的,客户端也应该有上述两个配置,但是现在客户端没有,所以出现了不一致的异常.
解决方法,把hbase-site.xml文件拖到resources中即可.
Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but
最新推荐文章于 2023-04-11 16:29:39 发布