• 使用DBeaver连接Phoenix异常Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnabled enabled


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

    在使用DBeaver连接Hbase时,出现上面异常信息。

    Hbase配置文件中设置如下:

    <configuration>
      <property>
        <name>hbase.rootdir</name>
        <value>hdfs://hadoop200:8020/hbase/</value>
      </property>
      <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
      </property>
      <property>
        <name>hbase.zookeeper.quorum</name>
        <value>hadoop200,hadoop201,hadoop202</value>
      </property>
      <property>
        <name>hbase.tmp.dir</name>
        <value>/opt/local/hbase/tmp/</value>
      </property>
      <property>
        <name>hbase.unsafe.stream.capability.enforce</name>
        <value>false</value>
      </property>
      <property>
        <name>hbase.wal.provider</name>
        <value>filesystem</value>
      </property>
      <property>
        <name>hbase.coprocessor.abortonerror</name>
        <value>false</value>
      </property>
    
      <property>
        <name>hbase.regionserver.wal.codec</name>
        <value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value>
      </property>
    
      <property>
        <name>phoenix.schema.isNamespaceMappingEnabled</name>
        <value>true</value>
      </property>
      <property>
        <name>phoenix.schema.mapSystemTablesToNamespace</name>
        <value>true</value>
      </property>
    </configuration>
    

    这时候只需要在DBeaver中的驱动属性中配置以下属性,然后连接就正常:
    image

    phoenix.schema.isNamespaceMappingEnabled true
    phoenix.schema.mapSystemTablesToNamespace true
    
  • 相关阅读:
    状态栏加入日期,时间,星期
    delphi操作sql数据库的备份和强制还原
    delphi在执行双击事件的顺序
    Word Tokenization
    Edit Distance in biology
    Data mining 4_7
    HDOJ_ACM_逃离迷宫
    Sentence Segmentaion
    HDOJ_ACM_A计划
    HDOJ_ACM_Knight Moves
  • 原文地址:https://www.cnblogs.com/30go/p/16343550.html
Copyright © 2020-2023  润新知