hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6494) Permission issue when running archive-logs tool as different users
Date Tue, 29 Sep 2015 01:35:05 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Kanter updated MAPREDUCE-6494:
-------------------------------------
    Attachment: MAPREDUCE-6494.002.patch

The 002 patch uses the working dir to prevent multiple calls to the tool and the {{-force}}
option as described in my previous comment.

> 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, MAPREDUCE-6494.002.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)

Mime
View raw message