szingerpeter opened a new issue, #7724:
URL: https://github.com/apache/hudi/issues/7724
Hy,
I'm using Hudi CLI version 1.0; hudi version 0.11.0; Spark version
3.2.1-amzn-0 and Hive version 3.1.3-amzn-0.
the error i'm getting:
```
java.lang.ClassCastException: org.apache.hadoop.io.LongWritable cannot be
cast to org.apache.hadoop.hive.serde2.io.TimestampWritable
at
org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableTimestampObjectInspector.getPrimitiveJavaObject(WritableTimestampObjectInspector.java:39)
```
write settings:
```
hoodie.datasource.hive_sync.support_timestamp: True
```
spark settings:
```
spark.serializer: org.apache.spark.serializer.KryoSerializer
spark.sql.hive.convertMetastoreParquet: false
hive.input.format: org.apache.hadoop.hive.ql.io.HiveInputFormat
spark.sql.avro.datetimeRebaseModeInWrite: CORRECTED
```
i've seen multiple other issues reporting the same error and PRs, but
couldn't figure out what would be the right solution
[#2509](https://github.com/apache/hudi/issues/2509)
[#2544 ](https://github.com/apache/hudi/issues/2544)
[#2869](https://github.com/apache/hudi/issues/2869)
[#3391](https://github.com/apache/hudi/pull/3391)
[#3378](https://github.com/apache/hudi/pull/3378)
[#6232](https://github.com/apache/hudi/issues/6232)
also, [this
link](https://hudi.apache.org/docs/configurations.html#HIVE_SUPPORT_TIMESTAMP)
on the [FAQ page](https://cwiki.apache.org/confluence/display/HUDI/FAQ) doesn't
work
--
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]