hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6494) Permission issue when running archive-logs tool as different users
Date Thu, 01 Oct 2015 03:39:05 GMT

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

Hudson commented on MAPREDUCE-6494:
-----------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #467 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/467/])
MAPREDUCE-6494. Permission issue when running archive-logs tool as (rkanter: rev 5db371f52f5c6e894a7e6a5d523084f4b316a7ab)
* hadoop-tools/hadoop-archive-logs/src/main/java/org/apache/hadoop/tools/HadoopArchiveLogs.java
* hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java
* hadoop-mapreduce-project/CHANGES.txt


> 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
>             Fix For: 2.8.0
>
>         Attachments: MAPREDUCE-6494.001.patch, MAPREDUCE-6494.002.patch, MAPREDUCE-6494.003.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