You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2017/02/03 22:52:51 UTC

[jira] [Resolved] (RANGER-1342) Hive test connection is not working

     [ https://issues.apache.org/jira/browse/RANGER-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Velmurugan Periasamy resolved RANGER-1342.
------------------------------------------
    Resolution: Fixed

patch committed to master - https://git-wip-us.apache.org/repos/asf?p=ranger.git;a=commit;h=ed6488361660aecbba1d006f26218e5193995f8f

> 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.3.15#6346)