[
https://issues.apache.org/jira/browse/HADOOP-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983280#action_12983280
]
Todd Lipcon commented on HADOOP-7110:
-------------------------------------
Although it would be useful to add a bunch of other JNI wrappers (eg chgrp,
stat, readlink) I'd like to just do chmod in this JIRA. The reasoning is that
chmod in particular is necessary to fix the MR build, so this needs to go into
0.22, whereas the others are truly improvements.
If others disagree, happy to write the wrappers.
> Implement chmod with JNI
> ------------------------
>
> Key: HADOOP-7110
> URL: https://issues.apache.org/jira/browse/HADOOP-7110
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io, native
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: hadoop-7110.txt
>
>
> MapReduce is currently using a race-prone workaround to approximate chmod()
> because forking chmod is too expensive. This race is causing build failures
> (and probably task failures too). We should implement chmod in the NativeIO
> library so we can have good performance (ie not fork) and still not be prone
> to races.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.