hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveen_spkr kumar <praveens...@gmail.com>
Subject Fwd: Beeline - Hive With LDAP
Date Thu, 05 May 2016 06:25:00 GMT
I am trying to connect to hive with LDAP through beeline. But I am getting
the following error:

Beeline> !connect
jdbc:hive2://hostname:10000/default;user=hive;password=xxxx



Error: Failed to open new session: java.lang.RuntimeException:
java.lang.RuntimeException:
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
User: hive is not allowed to impersonate hive (state=,code=0)



Ldapsearch is working fine with the ID ‘hive’.  Here is my config for Ldap
in hive-site.xml



    <property>

      <name>hive.server2.authentication.ldap.baseDN</name>

      <value>OU=gss,DC=mydomain,DC=com</value>

    </property>



    <property>

      <name>hive.server2.authentication.ldap.url</name>

      <value>ldap://ldapostname:389</value>

    </property>



Also added “hive.server2.authentication.ldap.Domain”.



Please let me know if anyone has faced this issue earlier.



Thanks

Praveen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message