Github user tgravescs commented on a diff in the pull request: https://github.com/apache/spark/pull/1112#discussion_r14079754 --- Diff: yarn/common/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala --- @@ -116,4 +118,15 @@ private[spark] class YarnClientSchedulerBackend( logInfo("Stopped") } + override def addWebUIFilter(filter: String, proxyBase: String) { + if (filter != null && filter.nonEmpty && proxyBase != null && proxyBase.nonEmpty) { + logInfo(s"Add WebUI Filter. $filter") + val amFilter = "org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter" + System.setProperty("spark.ui.filters", amFilter) + System.setProperty(s"spark.$amFilter.params", filter) --- End diff -- This is a bit odd to me. The filter parameter to this function is actually the paramters and not the filter. We should just be passing all of them as parameters (filterName, filterparams, proxyBase)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---