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 <sp...@hortonworks.com> on 2017/02/18 01:51:34 UTC
Review Request 56807: RANGER-1392: Hive test connection is failing
even if jdbc.url configured is correct with Kerberos authentication
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56807/
-----------------------------------------------------------
Review request for ranger, Ramesh Mani and Velmurugan Periasamy.
Bugs: RANGER-1392
https://issues.apache.org/jira/browse/RANGER-1392
Repository: ranger
Description
-------
With kerberos authentication, hive test connection fails with an error java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hive.org.apache.hadoop.security.GroupMappingServiceProvider. This is because of the hive-jdbc*-standalone.jar is located in wrong location under ranger admin.
Diffs
-----
src/main/assembly/admin-web.xml 7a18a34
Diff: https://reviews.apache.org/r/56807/diff/
Testing
-------
1. Verified ranger admin tar file is built with the jar file location changes as intended.
2. Verified manually updating the jar location in a secure cluster and test connection is successful.
Thanks,
Sailaja Polavarapu
Re: Review Request 56807: RANGER-1392: Hive test connection is
failing even
if jdbc.url configured is correct with Kerberos authentication
Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56807/#review170046
-----------------------------------------------------------
Ship it!
Ship It!
- Velmurugan Periasamy
On March 23, 2017, 8:51 p.m., Sailaja Polavarapu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56807/
> -----------------------------------------------------------
>
> (Updated March 23, 2017, 8:51 p.m.)
>
>
> Review request for ranger, Ramesh Mani and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1392
> https://issues.apache.org/jira/browse/RANGER-1392
>
>
> Repository: ranger
>
>
> Description
> -------
>
> With kerberos authentication, hive test connection fails with an error java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hive.org.apache.hadoop.security.GroupMappingServiceProvider. This is because of the hive-jdbc*-standalone.jar is located in wrong location under ranger admin.
>
>
> Diffs
> -----
>
> src/main/assembly/admin-web.xml 7a18a34
>
>
> Diff: https://reviews.apache.org/r/56807/diff/2/
>
>
> Testing
> -------
>
> 1. Verified ranger admin tar file is built with the jar file location changes as intended.
> 2. Verified manually updating the jar location in a secure cluster and test connection is successful.
>
>
> Thanks,
>
> Sailaja Polavarapu
>
>
Re: Review Request 56807: RANGER-1392: Hive test connection is
failing even
if jdbc.url configured is correct with Kerberos authentication
Posted by Sailaja Polavarapu <sp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56807/
-----------------------------------------------------------
(Updated March 23, 2017, 8:51 p.m.)
Review request for ranger, Ramesh Mani and Velmurugan Periasamy.
Changes
-------
After debugging further looks like the root cause is because ranger classpath contains both hive-jdbc jar and hive-jdbc standalone jar and messing up the class loading. Hence removing the hive-jdbc stanalone jar from ranger classpath.
Bugs: RANGER-1392
https://issues.apache.org/jira/browse/RANGER-1392
Repository: ranger
Description
-------
With kerberos authentication, hive test connection fails with an error java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hive.org.apache.hadoop.security.GroupMappingServiceProvider. This is because of the hive-jdbc*-standalone.jar is located in wrong location under ranger admin.
Diffs (updated)
-----
src/main/assembly/admin-web.xml 7a18a34
Diff: https://reviews.apache.org/r/56807/diff/2/
Changes: https://reviews.apache.org/r/56807/diff/1-2/
Testing
-------
1. Verified ranger admin tar file is built with the jar file location changes as intended.
2. Verified manually updating the jar location in a secure cluster and test connection is successful.
Thanks,
Sailaja Polavarapu
Re: Review Request 56807: RANGER-1392: Hive test connection is
failing even
if jdbc.url configured is correct with Kerberos authentication
Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56807/#review167003
-----------------------------------------------------------
Ship it!
Ship It!
- Velmurugan Periasamy
On Feb. 18, 2017, 1:51 a.m., Sailaja Polavarapu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56807/
> -----------------------------------------------------------
>
> (Updated Feb. 18, 2017, 1:51 a.m.)
>
>
> Review request for ranger, Ramesh Mani and Velmurugan Periasamy.
>
>
> Bugs: RANGER-1392
> https://issues.apache.org/jira/browse/RANGER-1392
>
>
> Repository: ranger
>
>
> Description
> -------
>
> With kerberos authentication, hive test connection fails with an error java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hive.org.apache.hadoop.security.GroupMappingServiceProvider. This is because of the hive-jdbc*-standalone.jar is located in wrong location under ranger admin.
>
>
> Diffs
> -----
>
> src/main/assembly/admin-web.xml 7a18a34
>
> Diff: https://reviews.apache.org/r/56807/diff/
>
>
> Testing
> -------
>
> 1. Verified ranger admin tar file is built with the jar file location changes as intended.
> 2. Verified manually updating the jar location in a secure cluster and test connection is successful.
>
>
> Thanks,
>
> Sailaja Polavarapu
>
>