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

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

Sailaja Polavarapu created RANGER-1342:
------------------------------------------

             Summary: 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.2, 0.6.1, 0.6.0
            Reporter: Sailaja Polavarapu


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)