Phoenix 启动报错:Error: ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled (state=43M10,code=726)
解决方法如下:
1、删除hbase和phoenix conf目录下的hbase-site.xml中关于命名空间启用的设置。
2、重启hbase,进入hbase shell
3、修改hbase中表SYSTEM:CATALOG名为SYSTEM.CATALOG
1)disable 'SYSTEM:CATALOG'
2)snapshot 'SYSTEM:CATALOG','cata_tableSnapshot’
3)clone_snapshot 'cata_tableSnapshot', 'SYSTEM.CATALOG'
4)drop 'SYSTEM:CATALOG'
4、重启phoenixcd /opt/phoenix/bin/
./sqlline.py hadoop01:2181