hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-2219) JT should not try to remove mapred.system.dir during startup
Date Thu, 06 Jan 2011 17:50:47 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978424#action_12978424

Tom White commented on MAPREDUCE-2219:

> Unfortunately I couldn't use FileUtil.fullyDeleteContents because that method takes File
and not Path/FileSystem.

I see. The patch has tests for this code, so +1 (pending Hudson).

> JT should not try to remove mapred.system.dir during startup
> ------------------------------------------------------------
>                 Key: MAPREDUCE-2219
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2219
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: mapreduce-2219.2.txt, mapreduce-2219.txt
> During startup, the JT tries to clean up mapred.system.dir by recursively removing it
and then recreating it. This requires that mapred.system.dir is inside a directory owned by
the mapred user. For example, if set to /system/mapred then /system must be owned by the mapred
account. This isn't documented properly and also seems unnecessary. Instead we can remove
the *contents* of mapred.system.dir instead of the directory itself.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message