[ 
https://issues.apache.org/jira/browse/HADOOP-8712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559455#comment-13559455
 ] 

Chris Nauroth commented on HADOOP-8712:
---------------------------------------

This change breaks on Windows (branch-trunk-win) due to lack of a Windows 
implementation for the native method in hadoop.dll.  The fallback logic is a 
one-time check to see if hadoop.dll loaded successfully, so with this kind of 
failure, it won't fall back to {{ShellBasedUnixGroupsMapping}}.  I've filed 
HADOOP-9232 to track it.  Meanwhile, a workaround on Windows is to set the 
configuration back to {{ShellBasedUnixGroupsMapping}} manually in core-site.xml:

{code}
<property>
  <name>hadoop.security.group.mapping</name>
  
<value>org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback</value>
</property>
{code}

                
> Change default hadoop.security.group.mapping
> --------------------------------------------
>
>                 Key: HADOOP-8712
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8712
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.0.2-alpha
>            Reporter: Robert Parker
>            Assignee: Robert Parker
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HADOOP-8712-v1.patch, HADOOP-8712-v2.patch
>
>
> Change the hadoop.security.group.mapping in core-site to 
> JniBasedUnixGroupsNetgroupMappingWithFallback

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to