Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11085

Add support for HTTP proxy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Spark Shell, Spark Submit
    • None

    Description

      Add a way to update ivysettings.xml for the spark-shell and spark-submit to support proxy settings for clusters that need to access a remote repository through an http proxy. Typically this would be done like:
      JAVA_OPTS="$JAVA_OPTS -Dhttp.proxyHost=proxy.host -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.host.secure -Dhttps.proxyPort=8080"

      Directly in the ivysettings.xml would look like:
      <ivysettings>
      <setproxy proxyhost="proxy.host"
      proxyport="8080"
      nonproxyhosts="nonproxy.host"/>
      </ivysettings>

      Even better would be a way to customize the ivysettings.xml with command options.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cotedm Dustin Cote
              Votes:
              7 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: