zoukankan      html  css  js  c++  java
  • Phoenix 启动报错:Error: ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.

    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)

    查看hbase中发现多了一张SYSTEM:CATALOG表,错误信息提示为连接映射错误。

    查看hbase配置文件发现下面这几行可以不用(罪魁祸首)

    <property>
      <name>phoenix.schema.isNamespaceMappingEnabled</name>
      <value>true</value>
    </property>
    
    <property>
      <name>phoenix.schema.mapSystemTablesToNamespace</name>
      <value>true</value>
    </property>
    

    删除部分配置信息后,对文件进行分发到其他机器。

    删除hbase中SYSTEM:CATALOG表(删除指令如下)


    重新启动hbase和phoenix

    出现:

    Inconsistent namespace mapping properties. Ensure that config phoenix.schema.isNamespaceMappingEnabled is consistent on client and server. (state=43M10,code=726)

    原因:没有同步hbase配置文件到phoenix,继续重复上步骤,删除多的表,修改phoenix文件。

    再次重启hbase和phoenix

    phoenix会新建几张表,如上图,成功。

    hbase配置文件这基本都是hbase-site.xml

    作者:Ya
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须在文章页面给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    378. Kth Smallest Element in a Sorted Matrix
    372. Super Pow
    357. Count Numbers with Unique Digits
    345. Reverse Vowels of a String
    343. Integer Break
    347. Top K Frequent Elements
    344. Reverse String
    338. Counting Bits
    326. Power of Three
    python练习
  • 原文地址:https://www.cnblogs.com/1463490Ya/p/15629542.html
Copyright © 2011-2022 走看看