Mike Percy created FLUME-1307:
---------------------------------

             Summary: Improve unit test for concatenated gzip files
                 Key: FLUME-1307
                 URL: https://issues.apache.org/jira/browse/FLUME-1307
             Project: Flume
          Issue Type: Bug
          Components: Sinks+Sources
            Reporter: Mike Percy
            Priority: Minor


Relates to FLUME-1301. We should make a better unit test for multi-member gzip 
files, which actually validates the correctness (or does better).

One potential way to do it is to check the last 8 bytes of the file for the 
little-endian CRC32 checksum and little-endian unsigned 32-bit length of the 
uncompressed content of the last member in a multi-member file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to