无法建立连接。使用DBEAVER APACHE PHOENIX连接到Apache HBase数据库
我在Ubuntu VM上安装了一个独立的Apache HBase数据库, 我希望能够使用dbeaver(apache phoenix)从外部连接到DB,
主人已经启动了,我能够在VM
://i.sstatic.net/od9wn.png“ rel =“ nofollow noreferrer”>
我得到此错误:
错误103(08004):建立连接的UNALBEL。 java.lang.reflect.invocationTargetExceptoin java.lang.reflect.invocationTargetException
InvocationTargetException
java.lang.reflect.invocationTargetException'Void sun.misc.unsafe.putlong(java.lang.Object,int,long)'
)
<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>
long
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
when testing
i get this error :
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论