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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcommon-dev @
postedMay 22, '09 at 5:52a
activeMay 22, '09 at 5:52a

1 user in discussion

Jothi Padmanabhan (JIRA): 1 post



site design / logo © 2022 Grokbase