HPC clusters typically don't have great support for long-running clusters, thus information from the cluster and UI are short-lived. It also makes it more difficult to monitor Spark jobs without the UI.
All you have to do is use SSH to configure a proxy and tell firefox (or your preferred browser) to use that tunnel as a proxy.
I chose to use port 8080 for my SOCKS proxy.
ssh -D 8080 -C -N [email protected]I use firefox, so I go to firefox -> preferences -> proxy
click Manual Proxy Configuration -> SOCKS Host ->, host is localhost. Port is 8080
Also I chose to click "Enable DNS via SOCKSv5 Proxy" - this allowed me to use DNS resolution on my machine.
Finally we can connect to the UI to monitor the jobs.
In the browser, type: http://comet-node-num:4040 and voila! The spark UI should appear. Don't close out of that terminal with the SSH command though or you'll lose the proxy