Support Questions
Find answers, ask questions, and share your expertise

Spark UI Broken CSS

New Contributor

I run the command "yarn application -list" and I get the URL of Spark ... but the UI looks broken how can we fix this ?






I have faced the same issue while using Spark on Google Cloud Dataproc.

If you will access Spark Job UI not through 4040 port directly, but through YARN Web UI (8088 port) you will see correctly rendered web pages.

To work around this issue when accessing Spark UI directly through 4040 the port you need to reset spark.ui.proxyBase property inside your Spark job (not in CLI/job submission command), because it gets overridden by Spark UI proxy:

sys.props.update("spark.ui.proxyBase", "")