aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/main/scala/org
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2017-02-22 14:37:53 -0800
committerMarcelo Vanzin <vanzin@cloudera.com>2017-02-22 14:37:53 -0800
commit4661d30b988bf773ab45a15b143efb2908d33743 (patch)
tree466912c594ddabc6093755ab080b8d42a2357769 /sql/core/src/main/scala/org
parent37112fcfcd64db8f84f437e5c54cc3ea039c68f6 (diff)
downloadspark-4661d30b988bf773ab45a15b143efb2908d33743.tar.gz
spark-4661d30b988bf773ab45a15b143efb2908d33743.tar.bz2
spark-4661d30b988bf773ab45a15b143efb2908d33743.zip
[SPARK-19554][UI,YARN] Allow SHS URL to be used for tracking in YARN RM.
Allow an application to use the History Server URL as the tracking URL in the YARN RM, so there's still a link to the web UI somewhere in YARN even if the driver's UI is disabled. This is useful, for example, if an admin wants to disable the driver UI by default for applications, since it's harder to secure it (since it involves non trivial ssl certificate and auth management that admins may not want to expose to user apps). This needs to be opt-in, because of the way the YARN proxy works, so a new configuration was added to enable the option. The YARN RM will proxy requests to live AMs instead of redirecting the client, so pages in the SHS UI will not render correctly since they'll reference invalid paths in the RM UI. The proxy base support in the SHS cannot be used since that would prevent direct access to the SHS. So, to solve this problem, for the feature to work end-to-end, a new YARN-specific filter was added that detects whether the requests come from the proxy and redirects the client appropriatly. The SHS admin has to add this filter manually if they want the feature to work. Tested with new unit test, and by running with the documented configuration set in a test cluster. Also verified the driver UI is used when it's enabled. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #16946 from vanzin/SPARK-19554.
Diffstat (limited to 'sql/core/src/main/scala/org')
0 files changed, 0 insertions, 0 deletions