Dbeaver 连接 phoenix

遇到问题一:

ERROR 103 (08004): Unable to establish connection.
  java.lang.reflect.InvocationTargetException
  java.lang.reflect.InvocationTargetException
    
    java.lang.reflect.InvocationTargetException
      Constructor threw an exception for org.apache.hadoop.hbase.ipc.RpcClientImpl
      Constructor threw an exception for org.apache.hadoop.hbase.ipc.RpcClientImpl
        
        java.lang.reflect.InvocationTargetException
          
          java.lang.ExceptionInInitializerError
            Unexpected version format: 11.0.5
            Unexpected version format: 11.0.5

解决方案:

在dbeaver.ini中添加
-vm
C:\Program Files\Java\jdk1.8.0_45\bin

Dbeaver 连接 phoenix_第1张图片

Dbeaver 连接 phoenix_第2张图片


遇到问题二

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

phoenix.schema.mapSystemTablesToNamespace enabled

解决方案:

phoenix.schema.isNamespaceMappingEnabled  true
phoenix.schema.mapSystemTablesToNamespace  true

Dbeaver 连接 phoenix_第3张图片

你可能感兴趣的:(hbase)