在IDE中使用phoenix添加数据时,提示错误:
Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled
错误如下
是因为HBaseConfiguration.create方法底层调用了本地的配置文件
在resources中加入hbase-site.xml即可(将缺少的配置写进该文件)
相关文章: