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 "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2018/02/19 15:15:00 UTC

[jira] [Commented] (MAPREDUCE-7010) Make Job History File Permissions configurable

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

Billie Rinaldi commented on MAPREDUCE-7010:
-------------------------------------------

Thanks for the patch, [~GergelyNovak]! I believe we need to restrict the possible values for the permissions, since user and group both need full permissions on the job history dirs. If group doesn't have write permission, JHS will fail to move the files from intermediate to done dirs and it will trigger MAPREDUCE-7045. I'm not sure if we should allow anything starting with 77, or if we should limit the possible values to 770 or 775.

> Make Job History File Permissions configurable
> ----------------------------------------------
>
>                 Key: MAPREDUCE-7010
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7010
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Andras Bokor
>            Assignee: Gergely Novák
>            Priority: Major
>         Attachments: MAPREDUCE-7010.001.patch
>
>
> Currently the mapreduce job history files are written with 770 permissions which can be accessed by job user or other user part of hadoop group.
> There might be users who are not part of the hadoop group but want to access these history files. We should provide ability to change the default permissions for staging files.
> The default should remain 770.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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