[
https://issues.apache.org/jira/browse/HADOOP-8611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438251#comment-13438251
]
Hudson commented on HADOOP-8611:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2671 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2671/])
HADOOP-8611. Allow fall-back to the shell-based implementation when
JNI-based users-group mapping fails (Robert Parker via bobby) (Revision 1375221)
Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1375221
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/JniBasedUnixGroupsMappingWithFallback.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/JniBasedUnixGroupsNetgroupMappingWithFallback.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestGroupFallback.java
> Allow fall-back to the shell-based implementation when JNI-based users-group
> mapping fails
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-8611
> URL: https://issues.apache.org/jira/browse/HADOOP-8611
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 1.0.3, 0.23.0, 2.0.0-alpha
> Reporter: Kihwal Lee
> Assignee: Robert Parker
> Fix For: 1.2.0, 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
> Attachments: HADOOP-8611-branch1.patch, HADOOP-8611-branch1.patch,
> HADOOP-8611.patch, HADOOP-8611.patch, HADOOP-8611.patch
>
>
> When the JNI-based users-group mapping is enabled, the process/command will
> fail if the native library, libhadoop.so, cannot be found. This mostly
> happens at client-side where users may use hadoop programatically. Instead of
> failing, falling back to the shell-based implementation will be desirable.
> Depending on how cluster is configured, use of the native netgroup mapping
> cannot be subsituted by the shell-based default. For this reason, this
> behavior must be configurable with the default being "disabled".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira