ChecksumFileSystem is ignoring 0 byte CRC files
-----------------------------------------------

                 Key: HADOOP-5894
                 URL: https://issues.apache.org/jira/browse/HADOOP-5894
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs
            Reporter: Jothi Padmanabhan
            Priority: Minor


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?  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to