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

Akira AJISAKA edited comment on HADOOP-12766 at 2/4/16 12:29 PM:
-----------------------------------------------------------------

I'm thinking we can change the default value to "true" in core-default.xml 
because the default value "false" in core-default.xml is no-op before 
HADOOP-12735.
In addition, I'm thinking we can move the following source code into 
CommonConfigurationKeysPublic.java for testing (See HADOOP-12738 for the 
detail).
{code:title=NativeIO.java}
    static final String WORKAROUND_NON_THREADSAFE_CALLS_KEY =
      "hadoop.workaround.non.threadsafe.getpwuid";
    static final boolean WORKAROUND_NON_THREADSAFE_CALLS_DEFAULT = true;
{code}


was (Author: ajisakaa):
I'm thinking we can change the default value to "true" in core-default.xml 
because the default value "false" in core-default.xml is no-op before 
HADOOP-12735.
In addition, I'm thinking we can move the following source code into 
CommonConfigurationKeys.java for testing (See HADOOP-12738 for the detail).
{code:title=NativeIO.java}
    static final String WORKAROUND_NON_THREADSAFE_CALLS_KEY =
      "hadoop.workaround.non.threadsafe.getpwuid";
    static final boolean WORKAROUND_NON_THREADSAFE_CALLS_DEFAULT = true;
{code}

> The default value of "hadoop.workaround.non.threadsafe.getpwuid" is different 
> between core-default.xml and NativeIO.java
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12766
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12766
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Akira AJISAKA
>         Attachments: HADOOP-12766.01.patch
>
>
> The default value of "hadoop.workaround.non.threadsafe.getpwuid" is false in 
> core-default.xml, but is true in NativeIO.java.



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

Reply via email to