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

Dustin Cote commented on YARN-1814:
-----------------------------------

Changing the error message to suggest that the user logged in may not have 
access to view the container logs for this job.  Attaching patch now.

> 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
>
> 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