[ 
https://issues.apache.org/jira/browse/RANGER-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926694#comment-17926694
 ] 

Harshal Chavan commented on RANGER-5142:
----------------------------------------

Hello [~madhan] test Connection for Hbase is failing with the following 
messages in Ranger admin server logs:
{code:java}
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
org.apache.hadoop.hbase.util.ReflectionUtils.instantiate(ReflectionUtils.java:61)
        ... 33 common frames omitted
Caused by: java.lang.NoSuchMethodError: 
org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKClientConfig(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/hbase/shaded/org/apache/zookeeper/client/ZKClientConfig;
        at 
org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient.<init>(ReadOnlyZKClient.java:142)
        at 
org.apache.hadoop.hbase.client.ZKConnectionRegistry.<init>(ZKConnectionRegistry.java:79)
        ... 38 common frames omitted
2025-02-13 07:16:48,537 [timed-executor-pool-0] ERROR 
[HBaseResourceMgr.java:50] <== HBaseResourceMgr.connectionTest() Error: 
org.apache.ranger.plugin.client.HadoopException: getHBaseStatus: Unable to 
check availability of Hbase environment [dev_hbase]{code}
Looks like some issue with our setup since the same is working on your system.

And yes we will not block 2.6 release we can take this is next release.

> Hbase and hive testconnection is not working 
> ---------------------------------------------
>
>                 Key: RANGER-5142
>                 URL: https://issues.apache.org/jira/browse/RANGER-5142
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.6.0
>            Reporter: Harshal Chavan
>            Priority: Major
>         Attachments: image-2025-02-12-08-16-51-276.png
>
>
> Hbase and hive testconnection is not working when tested with docker



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to