apache phoenix Table 'SYSTEM.CATALOG' was not found

最近在EMR 使用apache phoenix 连接 hbase 总是报错

# [org.apache.hadoop.hbase.TableNotFoundException: 
 SYSTEM.CATALOG exception with phoenix 4.5.2] )

查了好久终于解决了

  1. hbase zkcli 查看 /hbase/table 下面有没有SYSTEM.CATALOG
  2. hbase hbck -repair
  3. hbase zkcli 再次查看 /hbase/table 下面有没有SYSTEM.CATALOG

https://community.hortonworks.com/questions/141629/recreate-system-tables-hbase.html

你可能感兴趣的:(apache phoenix Table 'SYSTEM.CATALOG' was not found)