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

Upgrade from commons-codec 1.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.3.0
    • Spark Core
    • None

    Description

      Spark uses commons-codec 1.5, which has a race condition in Base64. That race was introduced in commons-codec 1.4 and resolved in 1.7. The current version of commons-codec is 1.10.

      Code that runs in Workers and assumes that Base64 is thread-safe will break because spark is using a non-thread-safe version. See CODEC-96

      In addition, the spark.files.userClassPathFirst mechanism is currently broken, (bug to come), so there isn't a viable work around for this issue.

      Attachments

        Activity

          People

            matt.whelan Matt Whelan
            MattWhelan Matthew Whelan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified