Phoenix:5.0


原因:

用flink jdbc sink写phoenix时,由于phoenix开了namespace,flink写入时报错:

Caused by: java.sql.SQLException: ERROR 726 (43M10):  Inconsistent namespace mapping properties.. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled

Apache Phoenix 在源码里修改默认参数

解决:

修改phoenix代码:https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java

Apache Phoenix 在源码里修改默认参数

如果修改参数多的话可以在这里全部改掉,重新编译打包,使用新的phoenix-core-5.0.0-alpha-HBase-2.0.jar就可以了

相关文章:

  • 2021-12-31
  • 2022-01-29
  • 2021-06-24
  • 2022-12-23
  • 2021-08-11
  • 2021-08-17
  • 2021-12-22
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案