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

Jian He commented on YARN-1814:
-------------------------------

The place where this patch is modifying doesn't seem to be invoked if user has 
no permission to view the log.
>From the problem description, the error msg says "container doesn't exist", 
>that's probably because the container is finished, not because of the 
>permission error ? 
Can this be reproduced ?

> Better error message when browsing logs in the RM/NM webuis
> -----------------------------------------------------------
>
>                 Key: YARN-1814
>                 URL: https://issues.apache.org/jira/browse/YARN-1814
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.3.0
>            Reporter: Andrew Wang
>            Assignee: Dustin Cote
>            Priority: Minor
>              Labels: BB2015-05-RFC
>         Attachments: YARN-1814-1.patch, YARN-1814-2.patch
>
>
> Browsing the webUI as a different user than the one who ran an MR job, I 
> click into host:8088/cluster/app/<application id>, then the "logs" link. This 
> redirects to the NM, but since I don't have permissions it prints out:
> bq. Failed redirect for container_1394482121761_0010_01_000001
> bq. Failed while trying to construct the redirect url to the log server. Log 
> Server url may not be configured
> bq. Container does not exist.
> It'd be nicer to print something about permissions instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to