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

Make Spark's guava version configurable from the maven command line.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.0.0
    • Component/s: Build
    • Labels:
      None
    • Target Version/s:

      Description

      All future releases of hadoop are going to ship with 27.0 or later, *including point releases of the 3.1 branch, which is a mixed blessing.

      Pro:

      • it's up to date
      • no active CVEs

      Con:

      • code which uses things the guava team removed won't compile
      • code built with the later release won't link to older versions due to signature overloading, with Preconditions.checkArgument a key example

      Making the guava.version spark pulls in an overrideable value makes it possible to choose the version to build with alongside the -Dhadoop.version selection of hadoop version.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: