You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2016/02/04 13:13:39 UTC

[jira] [Commented] (HADOOP-12704) Configuration hadoop.work.around.non.threadsafe.getpwuid not working

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

Akira AJISAKA commented on HADOOP-12704:
----------------------------------------

Thanks [~zhendong] for reporting this and thanks [~lewuathe] for creating the patch.
However, this issue seems to be fixed by HADOOP-12735. I'll close this issue.

BTW, the default value mismatches between core-default.xml and NativeIO.java. I'll create a separate jira to fix this.

> Configuration hadoop.work.around.non.threadsafe.getpwuid not working
> --------------------------------------------------------------------
>
>                 Key: HADOOP-12704
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12704
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>            Reporter: Dong Zhen
>            Assignee: Kai Sasaki
>         Attachments: HADOOP-12704.01.patch, HADOOP-12704.02.patch
>
>
> As the default configuration file shows
> https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/core-default.xml
> we can configure the option "hadoop.work.around.non.threadsafe.getpwuid" in the core-default.xml. But it does not work because  
> the key expected in org.apache.hadoop.io.nativeio.NativeIO.java is 
> static final String WORKAROUND_NON_THREADSAFE_CALLS_KEY =
>       "hadoop.workaround.non.threadsafe.getpwuid"; // no a dot between "work" and "around"
> we can change it to hadoop.workaround.non.threadsafe.getpwuid in the default configuration file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)