You can get the full URL of a SparkUI page by tunneling directly to the underlying Scala SparkContext with:
>>> sc._jsc.sc().uiWebUrl().get() u'http://192.168.0.59:6970'
This is a bit inconvenient, so I just filed a Pull request , which adds an accessor, so you can just do:
>>> sc.uiWebUrl u'http://192.168.0.59:6970'
Hopefully this will be merged in the next release, but if not, you can just fix your own copy of Spark with the changes in the linked branch (or use the uglier longer form above).
source share