You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Kevin (JIRA)" <ji...@apache.org> on 2019/06/26 18:22:00 UTC

[jira] [Created] (MAPREDUCE-7221) _SUCCESS file should be created with permissions of parent directory

Kevin created MAPREDUCE-7221:
--------------------------------

             Summary: _SUCCESS file should be created with permissions of parent directory
                 Key: MAPREDUCE-7221
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7221
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: client
    Affects Versions: 3.1.2
            Reporter: Kevin


The _SUCCESS file is created with the default user permissions ... often read-only to the current user.  This can prevent a second user from successfully performing operations in the directory that they would otherwise be able to perform.  The permissions of the directory are a much better representation of the intent of access and the _SUCCESS file's permissions should not interfere with this intent.

The specific case where I ran into this being a problem:  We have an "analytic pipeline" that can be used by many different users.  At the end of the pipeline, statistics are appended to a Hive table.  The _SUCCESS file must currently be deleted with elevated privileges before the statistics append at the end of the job. 



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

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