You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/03 15:03:00 UTC
[jira] [Updated] (HUDI-4282) Throws IOException in method HoodieLogFileReader.isBlockCorrupted()
[ https://issues.apache.org/jira/browse/HUDI-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-4282:
---------------------------------
Labels: pull-request-available (was: )
> Throws IOException in method HoodieLogFileReader.isBlockCorrupted()
> -------------------------------------------------------------------
>
> Key: HUDI-4282
> URL: https://issues.apache.org/jira/browse/HUDI-4282
> Project: Apache Hudi
> Issue Type: Bug
> Components: compaction
> Reporter: sherhomhuang
> Assignee: sherhomhuang
> Priority: Major
> Labels: pull-request-available
>
> Not all dfs throw {_}*EOFException*{_}, when seek index out of the length of file, such as {*}chdfs{*}. So it is not suitable to use _*EOFException*_ to check whether "{_}*currentPos + blocksize - Long.BYTES*{_}" is out of the file length.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)