hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Gummadi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1657) After task logs directory is deleted, tasklog servlet displays wrong error message about job ACLs
Date Mon, 19 Apr 2010 05:34:49 GMT

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

Ravi Gummadi updated MAPREDUCE-1657:
------------------------------------

    Attachment: MR1657.20S.1.patch

Attaching patch for earlier version of hadoop. Not for commit here.

Patch makes tasklog servlet to do authorization check only if job-acls.xml file exists. Also
added a proper error message for the case of accessing task logs from tasklog servlet when
the whole task log directory is not existing for a task. Added 2 testcases to TestWebUIAuthorization
for (a) allowing all users to view task logs when job-acls.xml file not existing and (b) getting
proper error code when the whole task log directory not existing.

> After task logs directory is deleted, tasklog servlet displays wrong error message about
job ACLs
> -------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1657
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1657
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>             Fix For: 0.22.0
>
>         Attachments: MR1657.20S.1.patch
>
>
> When task log gets deleted if from Web UI we click view task log, web page displays wrong
error message -:
> [
> HTTP ERROR: 401
> User user1 failed to view tasklogs of job job_201003241521_0001!
> user1 is not authorized for performing the operation VIEW_JOB on job_201003241521_0001.
VIEW_JOB Access control list
> configured for this job : 
> RequestURI=/tasklog
> ]
> Even if user is having view job acls set / or user is owner of job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message