[ https://issues.apache.org/jira/browse/YARN-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986732#comment-14986732 ]
Hitesh Shah commented on YARN-2513: ----------------------------------- The below patch seems to work but I am not sure what else I may be breaking: {code} --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/Applicatio +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/Applicatio @@ -305,16 +305,16 @@ private void startWebApp() { WebAppContext uiWebAppContext = new WebAppContext(); uiWebAppContext.setContextPath(webPath); uiWebAppContext.setWar(onDiskPath); - final String[] ALL_URLS = { "/*" }; - FilterHolder[] filterHolders = - webAppContext.getServletHandler().getFilters(); - for (FilterHolder filterHolder: filterHolders) { - if (!"guice".equals(filterHolder.getName())) { - HttpServer2.defineFilter(uiWebAppContext, filterHolder.getName(), - filterHolder.getClassName(), filterHolder.getInitParameters(), - ALL_URLS); - } - } + //final String[] ALL_URLS = { "/*" }; + //FilterHolder[] filterHolders = + // webAppContext.getServletHandler().getFilters(); + //for (FilterHolder filterHolder: filterHolders) { + // if (!"guice".equals(filterHolder.getName())) { + // HttpServer2.defineFilter(uiWebAppContext, filterHolder.getName(), + // filterHolder.getClassName(), filterHolder.getInitParameters(), + // ALL_URLS); + // } + //} {code} > Host framework UIs in YARN for use with the ATS > ----------------------------------------------- > > Key: YARN-2513 > URL: https://issues.apache.org/jira/browse/YARN-2513 > Project: Hadoop YARN > Issue Type: Sub-task > Components: timelineserver > Reporter: Jonathan Eagles > Assignee: Jonathan Eagles > Fix For: 3.0.0, 2.8.0, 2.7.2 > > Attachments: YARN-2513-v1.patch, YARN-2513-v2.patch, > YARN-2513.v3.patch, YARN-2513.v4.patch, YARN-2513.v5.patch > > > Allow for pluggable UIs as described by TEZ-8. Yarn can provide the > infrastructure to host java script and possible java UIs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)