Setting Up an HTTP Proxy for Spark 2
In Cloudera Data Science Workbench clusters that use an HTTP proxy, follow these steps
to support web-related actions in Spark. You must set the Spark configuration parameter
extraJavaOptions
on your gateway hosts.