Spark API讀取Phoenix數據報錯:
nconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have
在hbase shell修改如下解決:
1)disable 'SYSTEM:CATALOG'
2)snapshot 'SYSTEM:CATALOG', 'cata_tableSnapshot'
3)clone_snapshot 'cata_tableSnapshot', 'SYSTEM.CATALOG'
4)drop 'SYSTEM:CATALOG'