[
https://issues.apache.org/jira/browse/MAPREDUCE-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934380#comment-14934380
]
Anubhav Dhoot commented on MAPREDUCE-6494:
------------------------------------------
What would happen if we run two instances of this concurrently? Should we also
make it easy for the user to realize that its happening to avoid issues? Maybe
we could we use the existence of the directory as a sign that someone else is
running it.
> Permission issue when running archive-logs tool as different users
> ------------------------------------------------------------------
>
> Key: MAPREDUCE-6494
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6494
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 2.8.0
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Attachments: MAPREDUCE-6494.001.patch
>
>
> If the tool is run as user A, it creates {{/tmp/logs/archive-logs-work}} for
> temp work, but doesn't delete it. When it's run again as user B, you can run
> into permissions problems on {{/tmp/logs/archive-logs-work}} because user B
> doesn't have permission to do anything to that dir (it's 700). We should
> have the tool delete {{/tmp/logs/archive-logs-work}} when exiting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)