You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tarek Abouzeid (JIRA)" <ji...@apache.org> on 2019/05/17 07:58:00 UTC

[jira] [Commented] (TEZ-3894) Tez intermediate outputs implicitly rely on permissive umask for shuffle

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

Tarek Abouzeid commented on TEZ-3894:
-------------------------------------

i am using Tez 0.9.1 and the file.out and file.out.index in prod, are being created with different permissions
{code:java}
-rw-------. 1 hive hadoop 28 May 16 16:17 file.out
-rw-r-----. 1 hive hadoop 32 May 16 16:17 file.out.index
{code}
i am using hortonworks 3.1 , also in other environment using same version its working fine, also checked the umask for user (tez,hive,mapred) and all set to 0022, any tips that can help solving this please ?

> Tez intermediate outputs implicitly rely on permissive umask for shuffle
> ------------------------------------------------------------------------
>
>                 Key: TEZ-3894
>                 URL: https://issues.apache.org/jira/browse/TEZ-3894
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Major
>             Fix For: 0.9.2
>
>         Attachments: TEZ-3894.001.patch
>
>
> Tez does not explicitly set the permissions of intermediate output files for shuffle. In a secure cluster the shuffle service is running as a different user than the task, so the output files require group readability in order to serve up the data during the shuffle phase. If the umask is too restrictive (e.g.: 077) then the task's file.out and file.out.index permissions can be too restrictive to allow the shuffle handler to access them.



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