'Unable to establish connection. using DBeaver apache phoenix to connect to Apache Hbase database

I have a standalone Apache HBase Database installed on an ubuntu vm, i want to be able to connect to the db from the outside using dbeaver (Apache Phoenix)

the Master is up and i am able to use the database inside the vm

enter image description here

when testing

enter image description here

i get this error :

enter image description here

ERROR 103 (08004): Unalbel to establish connection. java.lang.reflect.InvocationTargetExceptoin java.lang.reflect.InvocationTargetException
InvocationTargetException
java.lang.reflect.InvocationTargetException 'void sun.misc.Unsafe.putLong(java.lang.Object, int, long)'

My hbase-site.xml :

 <property>
    <name>hbase.cluster.distributed</name>
    <value>false</value>
  </property>
  <property>
    <name>hbase.tmp.dir</name>
    <value>./tmp</value>
  </property>
  <property>
    <name>hbase.unsafe.stream.capability.enforce</name>
    <value>false</value>
  </property>

<property>

    <name>hbase.rootdir</name>

    <value>file:///home/azureuser/HBASE/hbase</value>

</property>

<property>

   <name>hbase.zookeeper.property.dataDir</name>

   <value>/home/azureuser/HBASE/zookeeper</value>

</property>

<property>
     <name>hbase.security.authorization</name>
     <value>true</value>
</property>

<property>
     <name>hbase.coprocessor.master.classes</name>
     <value>org.apache.hadoop.hbase.security.access.AccessController</value>
</property>

<property>
     <name>hbase.coprocessor.region.classes</name>
     <value>org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.AccessController</value>
</property>
</configuration>

hope someone can help or guide me through the right direction



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source