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 "Dong Zhen (JIRA)" <ji...@apache.org> on 2016/01/13 14:40:39 UTC

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

Dong Zhen created HADOOP-12704:
----------------------------------

             Summary: 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
            Reporter: Dong Zhen


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)