Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.0, 1.2.0
-
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.