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)

Reply via email to