ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Gresch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-1342) Hive test connection is not working
Date Fri, 15 Sep 2017 16:16:00 GMT

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

Aaron Gresch commented on RANGER-1342:
--------------------------------------

Just trying ranger for the first time, and I am seeing this error using the 0.7 branch.  Looks
like RANGER-1571 removed this code.  I'm unclear why.

> Hive test connection is not working
> -----------------------------------
>
>                 Key: RANGER-1342
>                 URL: https://issues.apache.org/jira/browse/RANGER-1342
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.6.0, 0.6.1, 0.6.2
>            Reporter: Sailaja Polavarapu
>             Fix For: 0.7.0
>
>         Attachments: 0001-RANGER-1342-Hive-test-connection-is-not-working.patch
>
>
> Hive test connection is not working when using local or ldap user credentials in  repo
config.
> xa_portal logs:
> 2017-02-01 00:30:14,373 [timed-executor-pool-0] ERROR org.apache.ranger.plugin.util.PasswordUtils
(PasswordUtils.java:127) - Unable to decrypt password due to error
> javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting
with padded cipher
> 	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:934)
> 	at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:845)
> 	at com.sun.crypto.provider.PBES1Core.doFinal(PBES1Core.java:416)
> 	at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(PBEWithMD5AndDESCipher.java:316)
> 	at javax.crypto.Cipher.doFinal(Cipher.java:2165)
> 	at org.apache.ranger.plugin.util.PasswordUtils.decryptPassword(PasswordUtils.java:112)
> 	at org.apache.ranger.plugin.client.BaseClient.login(BaseClient.java:113)
> 	at org.apache.ranger.plugin.client.BaseClient.<init>(BaseClient.java:59)
> 	at org.apache.ranger.plugin.client.BaseClient.<init>(BaseClient.java:51)
> 	at org.apache.ranger.services.hive.client.HiveClient.<init>(HiveClient.java:60)
> 	at org.apache.ranger.services.hive.client.HiveClient.connectionTest(HiveClient.java:633)
> 	at org.apache.ranger.services.hive.client.HiveResourceMgr.connectionTest(HiveResourceMgr.java:49)
> 	at org.apache.ranger.services.hive.RangerServiceHive.validateConfig(RangerServiceHive.java:57)
> 	at org.apache.ranger.biz.ServiceMgr$ValidateCallable.actualCall(ServiceMgr.java:560)
> 	at org.apache.ranger.biz.ServiceMgr$ValidateCallable.actualCall(ServiceMgr.java:547)
> 	at org.apache.ranger.biz.ServiceMgr$TimedCallable.call(ServiceMgr.java:508)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> 2017-02-01 00:30:14,374 [timed-executor-pool-0] ERROR apache.ranger.services.hive.client.HiveResourceMgr
(HiveResourceMgr.java:51) - <== HiveResourceMgr.connectionTest Error: org.apache.ranger.plugin.client.HadoopException:
Unable to login to Hadoop environment [cl1_hive]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message