You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/05/26 20:41:12 UTC
[jira] [Commented] (SPARK-11413) Java 8 build has problem with
joda-time and s3 request, should bump joda-time version
[ https://issues.apache.org/jira/browse/SPARK-11413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302873#comment-15302873 ]
Steve Loughran commented on SPARK-11413:
----------------------------------------
Note that joda-time is only explicitly pulled in with Hive builds; any version of spark built without {{-Phive}} will omit it. This gives whoever compiled their private version of Spark the opportunity and duty to put the version of Joda time compatible with the AWS SDK/JVM on their own classpath.
> Java 8 build has problem with joda-time and s3 request, should bump joda-time version
> -------------------------------------------------------------------------------------
>
> Key: SPARK-11413
> URL: https://issues.apache.org/jira/browse/SPARK-11413
> Project: Spark
> Issue Type: Improvement
> Components: Build
> Reporter: Yongjia Wang
> Assignee: Yongjia Wang
> Priority: Minor
> Fix For: 1.6.0
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org