• 使用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
    
  • 相关阅读:
    工具类图片处理工具类
    工具类文件上传工具类
    工具类Bean 工具类
    防止XSS攻击的过滤器
    工具类文件类型工具类
    工具类媒体类型工具类
    XSS过滤处理
    工具类HTML过滤器,用于去除XSS漏洞隐患。
    工具类转义和反转义工具类
    开机去掉atime参数 枯木
  • 原文地址:https://www.cnblogs.com/30go/p/16343550.html
Copyright © 2020-2023  润新知