[ https://issues.apache.org/jira/browse/RANGER-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899719#comment-16899719 ]
Raja raj commented on RANGER-1342: ---------------------------------- [~spolavarapu]: Could you please let us know the respective .jar file to replace in ambari ranger folder paths directly? > 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 > Priority: Major > 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 (v7.6.14#76016)