Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5894

ChecksumFileSystem is ignoring 0 byte CRC files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • fs

    Description

      We saw an issue where the original file is not empty but the corresponding CRC file is empty (do not know why, could be because the process that wrote the file crashed in between). While reading, fs.open got a EOFException when trying to read the checksum version from the CRC file and crc validation was disabled for the file. Since the original intention was to have the CRC validations for this file, should we just fail here instead of ignoring the exception?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jothipn Jothi Padmanabhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: