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 "Chris Nauroth (Jira)" <ji...@apache.org> on 2023/01/12 21:52:00 UTC

[jira] [Resolved] (MAPREDUCE-7375) JobSubmissionFiles don't set right permission after mkdirs

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

Chris Nauroth resolved MAPREDUCE-7375.
--------------------------------------
    Fix Version/s: 3.4.0
                   3.2.5
                   3.3.9
       Resolution: Fixed

> JobSubmissionFiles don't set right permission after mkdirs
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-7375
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7375
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 3.3.2
>            Reporter: Zhang Dongsheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.2.5, 3.3.9
>
>         Attachments: MAPREDUCE-7375.patch
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> JobSubmissionFiles provide getStagingDir to get Staging Directory.If stagingArea missing, method will create new directory with this.
> {quote}fs.mkdirs(stagingArea, new FsPermission(JOB_DIR_PERMISSION));{quote}
> It seems create new directory with JOB_DIR_PERMISSION,but this permission will be apply by umask.If umask too strict , this permission may be 000(if umask is 700).So we should change permission after create.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org