You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/03/10 02:03:30 UTC

[jira] [Resolved] (MAPREDUCE-2371) TaskLogsTruncater does not need to check log ownership when running as Child

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer resolved MAPREDUCE-2371.
-----------------------------------------
    Resolution: Fixed

closing as stale

> TaskLogsTruncater does not need to check log ownership when running as Child
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2371
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2371
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: mapreduce-2371-on-0.20.txt
>
>
> Before MAPREDUCE-2178, it used to be that the TaskLogsTruncater had to use the SecureIO API to open the task logs before truncation, to avoid an attack where the user would symlink in something that the TT had access to but not the user. After MAPREDUCE-2178, this truncation is done as the user rather than as the TT, so we don't need to perform this check.
> Not performing the check avoids a fork() call which we've found to be troublesome since it doubles vmem consumption and thus requires that users bump mapred.child.ulimit to >2x the expected child heap size.



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