使用DBeaver连接Phoenix异常Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:
ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled
在使用DBeaver连接Hbase时,出现上面异常信息。
Hbase配置文件中设置如下:
hbase.rootdir
hdfs://hadoop200:8020/hbase/
hbase.cluster.distributed
true
hbase.zookeeper.quorum
hadoop200,hadoop201,hadoop202
hbase.tmp.dir
/opt/local/hbase/tmp/
hbase.unsafe.stream.capability.enforce
false
hbase.wal.provider
filesystem
hbase.coprocessor.abortonerror
false
hbase.regionserver.wal.codec
org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec
phoenix.schema.isNamespaceMappingEnabled
true
phoenix.schema.mapSystemTablesToNamespace
true
这时候只需要在DBeaver中的驱动属性中配置以下属性,然后连接就正常:
phoenix.schema.isNamespaceMappingEnabled true
phoenix.schema.mapSystemTablesToNamespace true