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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-h...@hadoop.apache.org

Reply via email to