[
https://issues.apache.org/jira/browse/MAPREDUCE-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858380#action_12858380
]
Ravi Gummadi commented on MAPREDUCE-1657:
-----------------------------------------
In tasklog servlet, the problem is even when the task log files don't exist,
the first place an error is seen is authorization check.
Avoiding authorization check for viewing task logs if job-acls.xml file doesn't
exist would solve the problem.
> 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
>
>
> 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.