You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Sagar Sumit (Jira)" <ji...@apache.org> on 2022/04/24 06:36:00 UTC
[jira] [Updated] (HUDI-3960) Update HudiRealtimeSplitConverter to correctly instantiate HoodieRealtimeFileSplit
[ https://issues.apache.org/jira/browse/HUDI-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagar Sumit updated HUDI-3960:
------------------------------
Description:
The constructor for HoodieRealtimeFileSplit changed due to [https://github.com/apache/hudi/pull/4743/files#diff-22bc252cee3012a8afa882f0dab4304dc6892a950a44af518395d678dd413330]
HudiRealtimeSplitConverter in Presto relies on HoodieRealtimeFileSplit to fetch delta log files.
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}
was:
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}
> 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
> Priority: Critical
> Fix For: 0.11.1
>
>
> The constructor for HoodieRealtimeFileSplit changed due to [https://github.com/apache/hudi/pull/4743/files#diff-22bc252cee3012a8afa882f0dab4304dc6892a950a44af518395d678dd413330]
> HudiRealtimeSplitConverter in Presto relies on HoodieRealtimeFileSplit to fetch delta log files.
> 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)