[
https://issues.apache.org/jira/browse/MAPREDUCE-6111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239372#comment-14239372
]
Peter Hellinger commented on MAPREDUCE-6111:
--------------------------------------------
This patch breaks backward compatibility for client applications that use the
hadoop-mapreduce-client-common jar.
Is there any other way to implement this?
> Hadoop users' staging directories should be under a user folder
> ---------------------------------------------------------------
>
> Key: MAPREDUCE-6111
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6111
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.5.0, 2.4.1
> Reporter: Jian Fang
> Attachments: MAPREDUCE-6111.2.patch
>
>
> Right now, Hadoop puts all users' staging directories under
> /tmp/hadoop-yarn/staging/, for example /tmp/hadoop-yarn/staging/hadoop for
> user hadoop, but the directory /tmp/hadoop-yarn/staging is also used for
> other purpose. For example, /tmp/hadoop-yarn/staging/history/ is used to hold
> finished JHS files. The shared parent /tmp/hadoop-yarn/staging makes it
> difficult to track all users' folders without adding extra logic to exclude
> other known folders.
> As a result, we should move all users' folders to a user sub-folder, i.e.,
> /tmp/hadoop-yarn/staging/user/. In this case, user hadoop's staging folder
> becomes /tmp/hadoop-yarn/staging/user/hadoop/.staging.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)