[
https://issues.apache.org/jira/browse/RANGER-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926455#comment-17926455
]
Madhan Neethiraj commented on RANGER-5142:
------------------------------------------
[~hchavan] - can you add details of the error you have seen in Test Connection
for HBase and Hive, including logs from Ranger admin server?
I verified that Test Connection and resource-lookup work as expected in HBase:
!image-2025-02-12-08-16-51-276.png|width=712,height=525!
Test Connection for Hive fails with the following messages in Ranger admin
server logs:
{noformat}
2025-02-12 16:14:54,900 [timed-executor-pool-0] WARN
[SecureClientLogin.java:123] Can't find keyTab Path : null
2025-02-12 16:14:54,901 [timed-executor-pool-0] WARN
[SecureClientLogin.java:127] Can't find principal : null
2025-02-12 16:14:54,906 [timed-executor-pool-0] INFO [BaseClient.java:126] Init
Login: security not enabled, using username
2025-02-12 16:14:54,907 [timed-executor-pool-0] INFO [HiveClient.java:93] Since
Password is NOT provided, Trying to use UnSecure client with username and
password
2025-02-12 16:14:54,912 [timed-executor-pool-0] ERROR [HiveResourceMgr.java:51]
<== HiveResourceMgr.connectionTest Error:
org.apache.ranger.plugin.client.HadoopException: Unable to connect to Hive
Thrift Server instance
2025-02-12 16:14:54,913 [timed-executor-pool-0] ERROR
[RangerServiceHive.java:84] <== RangerServiceHive.validateConfig
Error:org.apache.ranger.plugin.client.HadoopException: Unable to connect to
Hive Thrift Server instance
2025-02-12 16:14:54,913 [timed-executor-pool-0] ERROR [ServiceMgr.java:686]
TimedCallable.call: Error:org.apache.ranger.plugin.client.HadoopException:
Unable to connect to Hive Thrift Server instance
2025-02-12 16:14:54,913 [http-nio-6080-exec-7] ERROR [ServiceMgr.java:231] ==>
ServiceMgr.validateConfig
Error:org.apache.ranger.plugin.client.HadoopException:
org.apache.ranger.plugin.client.HadoopException: Unable to connect to Hive
Thrift Server instance
{noformat}
> 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)