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

Java 8 build has problem with joda-time and s3 request, should bump joda-time version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.0
    • Build
    • None

    Description

      Joda-time has problems with formatting time zones starting with Java 1.8u60, and this will cause s3 request to fail. It is said to have been fixed at joda-time 2.8.1.
      Spark is still using joda-time 2.5 by fault, if java8 is used to build spark, should set -Djoda.version=2.8.1 or above.
      I was hit by this problem, and -Djoda.version=2.9 worked.
      I don't see any reason not to bump up joda-time version in pom.xml
      Should I create a pull request for this? It is trivial.

      https://github.com/aws/aws-sdk-java/issues/484
      https://github.com/aws/aws-sdk-java/issues/444
      http://stackoverflow.com/questions/32058431/aws-java-sdk-aws-authentication-requires-a-valid-date-or-x-amz-date-header

      Attachments

        Issue Links

          Activity

            People

              yongjiaw Yongjia Wang
              yongjiaw Yongjia Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: