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:31:39 UTC

[jira] [Commented] (HADOOP-12735) core-default.xml misspells hadoop.workaround.non.threadsafe.getpwuid

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

Akira AJISAKA commented on HADOOP-12735:
----------------------------------------

Thanks [~rchiang] and [~cmccabe] for fixing this issue.
I found the default value in core-default.xml is different from that in NativeIO.java, so I filed HADOOP-12766 and created a patch. Would you please review it?

> core-default.xml misspells hadoop.workaround.non.threadsafe.getpwuid
> --------------------------------------------------------------------
>
>                 Key: HADOOP-12735
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12735
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>            Priority: Minor
>              Labels: supportability
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12735.001.patch, HADOOP-12735.002.patch
>
>
> The property as defined in core-default.xml is
> bq.  hadoop.work.around.non.threadsafe.getpwuid
> But in NativeIO.java (the only place I can see a similar reference), the property is defined as:
> bq.     static final String WORKAROUND_NON_THREADSAFE_CALLS_KEY = "hadoop.workaround.non.threadsafe.getpwuid";
> Note the extra period (.) in the word "workaround".
> Should the code be made to match the property or vice versa?



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