Sagar Sumit created HUDI-3960:
---------------------------------
Summary: Update HudiRealtimeSplitConverter to correctly
instantiate HoodieRealtimeFileSplit
Key: HUDI-3960
URL: https://issues.apache.org/jira/browse/HUDI-3960
Project: Apache Hudi
Issue Type: Bug
Reporter: Sagar Sumit
Fix For: 0.11.1
The constructor for HoodieRealtimeFileSplit changed due to
[https://github.com/apache/hudi/pull/4743]
After the release of Hudi 0.11, we need to upgrade hudi-presto-bundle in
presto. If not, snapshot queries on MOR table will break due to
{code:java}
java.lang.NoSuchMethodError:
org.apache.hudi.hadoop.realtime.HoodieRealtimeFileSplit.<init>(Lorg/apache/hadoop/mapred/FileSplit;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lorg/apache/hudi/common/util/Option;)V
at
com.facebook.presto.hive.util.HudiRealtimeSplitConverter.recreateFileSplitWithCustomInfo(HudiRealtimeSplitConverter.java:70)
at
com.facebook.presto.hive.util.CustomSplitConversionUtils.recreateSplitWithCustomInfo(CustomSplitConversionUtils.java:58)
at
com.facebook.presto.hive.HiveUtil.createRecordReader(HiveUtil.java:247)
at
com.facebook.presto.hive.GenericHiveRecordCursorProvider.lambda$createRecordCursor$0(GenericHiveRecordCursorProvider.java:74)
at
com.facebook.presto.hive.authentication.NoHdfsAuthentication.doAs(NoHdfsAuthentication.java:23)
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)