You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sherhomhuang (Jira)" <ji...@apache.org> on 2022/06/19 14:22:00 UTC

[jira] [Created] (HUDI-4282) Throws IOException in method HoodieLogFileReader.isBlockCorrupted()

sherhomhuang created HUDI-4282:
----------------------------------

             Summary: 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


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.7#820007)