You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/09/28 23:20:04 UTC

[jira] [Commented] (MAPREDUCE-6494) Permission issue when running archive-logs tool as different users

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

Allen Wittenauer commented on MAPREDUCE-6494:
---------------------------------------------

Why is this using /tmp and not the user's working directory as provided by YARN?

> 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)