[
https://issues.apache.org/jira/browse/HUDI-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17377127#comment-17377127
]
ASF GitHub Bot commented on HUDI-1939:
--------------------------------------
vinothchandar commented on pull request #3003:
URL: https://github.com/apache/hudi/pull/3003#issuecomment-876175319
SQL tests
```
[31m org.apache.spark.SparkException: Job aborted due to stage failure:
Task 0 in stage 27.0 failed 1 times, most recent failure: Lost task 0.0 in
stage 27.0 (TID 25, localhost, executor driver):
java.time.temporal.UnsupportedTemporalTypeException: Unsupported field:
YearOfEra[0m
[31m at java.time.Instant.getLong(Instant.java:603)[0m
[31m at
java.time.format.DateTimePrintContext.getValue(DateTimePrintContext.java:298)[0m
[31m at
java.time.format.DateTimeFormatterBuilder$NumberPrinterParser.format(DateTimeFormatterBuilder.java:2540)[0m
[31m at
java.time.format.DateTimeFormatterBuilder$CompositePrinterParser.format(DateTimeFormatterBuilder.java:2179)[0m
[31m at
java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1746)[0m
[31m at
java.time.format.DateTimeFormatter.format(DateTimeFormatter.java:1720)[0m
[31m at
org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:67)[0m
[31m at
org.apache.spark.sql.hudi.command.SqlKeyGenerator$$anonfun$getPartitionPath$1.apply(SqlKeyGenerator.scala:53)[0m
[31m at
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)[0m
[31m at
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)[0m
[31m at
scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[0m
[31m at
scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[0m
[31m at
scala.collection.TraversableLike$class.map(TraversableLike.scala:234)[0m
[31m at
scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)[0m
[31m at
org.apache.spark.sql.hudi.command.SqlKeyGenerator.getPartitionPath(SqlKeyGenerator.scala:53)[0m
[31m at
org.apache.hudi.keygen.BaseKeyGenerator.getKey(BaseKeyGenerator.java:62)[0m
[31m at
org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:167)[0m
[31m at
org.apache.hudi.HoodieSparkSqlWriter$$anonfun$1.apply(HoodieSparkSqlWriter.scala:159)[0m
```
and the following seem to fail?
```
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsWithOffset_OutputTimezoneAsUTC:304
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601NoMsZ_OutputTimezoneAsUTC:286
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsWithOffset_OutputTimezoneAsUTC:322
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsEST:340
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_MultipleInputFormats_ISO8601WithMsZ_OutputTimezoneAsUTC:268
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormat_ISO8601WithMsZ_OutputTimezoneAsUTC:232
» HoodieKeyGenerator
[ERROR]
TestTimestampBasedKeyGenerator.test_ExpectsMatch_SingleInputFormats_ISO8601WithMsZ_OutputTimezoneAsInputDateTimeZone:250
» HoodieKeyGenerator
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> Replace joda-time api to new jdk8 time api
> ------------------------------------------
>
> Key: HUDI-1939
> URL: https://issues.apache.org/jira/browse/HUDI-1939
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Xuedong Luan
> Assignee: Xuedong Luan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> remove the usage of joda-time api and use the new jdk8 time api
--
This message was sent by Atlassian Jira
(v8.3.4#803005)