dbeaver can't connect HBase1.2 using phoenix driver

Created on 11 Jul 2017  路  3Comments  路  Source: dbeaver/dbeaver

ENV:
DBeaver Enterprise (4.0.5)
Phoenix-4.9.0-cdh5.9.1+HBase1.2.0(CDH5.11 )

dbeaver can't connect HBase1.2 using phoenix driver.

ERROR:
Unexpected driver error occurred while connecting to database
java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hadoop.security.GroupMappingServiceProvider

Most helpful comment

It鈥榮 solved.
1.I can't use the own driver packages.

2.I only use the one dirver jar with "phoenix-4.9.0-cdh5.9.1-client.jar", save the connection info.
(must restart dbeaver, otherwise can't connect the hbase with the above error message, I feeling is that it's dbeaver bug)

3.Restart the dbeaver, the you can find that dbeaver connect the hbase.

All 3 comments

It鈥榮 solved.
1.I can't use the own driver packages.

2.I only use the one dirver jar with "phoenix-4.9.0-cdh5.9.1-client.jar", save the connection info.
(must restart dbeaver, otherwise can't connect the hbase with the above error message, I feeling is that it's dbeaver bug)

3.Restart the dbeaver, the you can find that dbeaver connect the hbase.

Thanks for info

We will change default driver configuration in 6.3.4 (see #6376)

Was this page helpful?
0 / 5 - 0 ratings