You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2022/09/04 21:48: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 ]

sivabalan narayanan updated HUDI-4282:
--------------------------------------
    Reviewers: sivabalan narayanan

> 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: Critical
>              Labels: pull-request-available
>             Fix For: 0.12.1
>
>
> 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)