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 "Jian Fang (JIRA)" <ji...@apache.org> on 2014/09/26 20:28:34 UTC

[jira] [Created] (MAPREDUCE-6111) Hadoop users' staging directories should be under a user folder

Jian Fang created MAPREDUCE-6111:
------------------------------------

             Summary: 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.4.1, 2.5.0
            Reporter: Jian Fang


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)