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 "Peter Bacsko (JIRA)" <ji...@apache.org> on 2018/12/05 13:48:00 UTC
[jira] [Comment Edited] (MAPREDUCE-7159) FrameworkUploader: ensure
proper permissions of generated framework tar.gz if restrictive umask is
used
[ https://issues.apache.org/jira/browse/MAPREDUCE-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710089#comment-16710089 ]
Peter Bacsko edited comment on MAPREDUCE-7159 at 12/5/18 1:47 PM:
------------------------------------------------------------------
[~wilfreds] I updated the patch. I walk the path backwards and check that every directory is at least "--x--x--x" so that everyone can access the generated MR framework.
was (Author: pbacsko):
[~wilfreds] I updated the patch. I walk the path backwards and check that every directory is at least {{--x--x--x}} so that everyone can access the generated MR framework.
> FrameworkUploader: ensure proper permissions of generated framework tar.gz if restrictive umask is used
> -------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-7159
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7159
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 3.1.1
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Attachments: MAPREDUCE-7159-001.patch, MAPREDUCE-7159-002.patch, MAPREDUCE-7159-003.patch, MAPREDUCE-7159-004.patch, MAPREDUCE-7159-005.patch, MAPREDUCE-7159-006.patch
>
>
> Using certain umask values (like 027) makes files unreadable to "others". This causes problems if the FrameworkUploader (https://github.com/apache/hadoop/blob/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java) is used - it's necessary that the compressed MR framework is readable by all users, otherwise they won't be able to run MR jobs.
--
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