hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-7221) _SUCCESS file should be created with permissions of parent directory
Date Wed, 26 Jun 2019 18:22:00 GMT
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

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

View raw message