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

Upgrade Boto to 2.34.0; automatically download Boto from PyPi instead of packaging it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • EC2
    • None

    Description

      We should upgrade to a newer version of Boto (2.34.0), since this is blocking several features. It looks like newer versions of Boto don't work properly when they're loaded from a zipfile since they try to read a JSON file from a path relative to the Boto library sources.

      Therefore, I think we should change spark-ec2 to automatically download Boto from PyPi if it's not present in SPARK_EC2_DIR/lib, similar to what we do in the sbt/sbt scripts. This shouldn't ben an issue for users since they already need to have an internet connection to launch an EC2 cluster. By performing the downloading in spark_ec2.py instead of the Bash script, this should also work for Windows users.

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              joshrosen Josh Rosen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: