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

Thomas Graves commented on YARN-981:
------------------------------------

I haven't looked at this in detail but you can't  remove the /logs from the 
HttpServer.java as that is used by hdfs, unless that was changed in another 
jira?

Also you need to make sure the logs can only be accessed by admins - the 
HttpServer code used to go through the AdminAuthorizedServlet.

Some of the default servlets do work, like /jmx, /logLevel, I would think the 
/metrics one could too, perhaps if we fix whatever is broken for both hdfs and 
yarn it will just work?   /logs is a bit different since its just a resource 
handler.  

I'm not totally against changing it from the previous behavior of showing 
everything in the directory as this is probably more secure but I don't see any 
discussion about that here?  It appears we are only showing the .log file, so 
we want to show the .out file also?
                
> YARN/MR2/Job history /logs and /metrics link do not have correct content
> ------------------------------------------------------------------------
>
>                 Key: YARN-981
>                 URL: https://issues.apache.org/jira/browse/YARN-981
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Xuan Gong
>            Assignee: Jian He
>         Attachments: YARN-981.1.patch, YARN-981.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to