hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5379) Throw exception instead of writing to System.err when there is a CRC error on CBZip2InputStream
Date Tue, 10 Mar 2009 00:02:50 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-5379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rodrigo Schmidt updated HADOOP-5379:
------------------------------------

    Fix Version/s: 0.21.0
                   0.20.0
                   0.19.2
     Release Note: Throws exception if CRC verification fails during decompression of Bzip2-compressed
data.
           Status: Patch Available  (was: Open)

> Throw exception instead of writing to System.err when there is a CRC error on CBZip2InputStream
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5379
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5379
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.19.1, 0.19.0, 0.19.2, 0.20.0, 0.21.0
>            Reporter: Rodrigo Schmidt
>            Assignee: Rodrigo Schmidt
>            Priority: Minor
>             Fix For: 0.19.2, 0.20.0, 0.21.0
>
>         Attachments: HADOOP-5379.patch
>
>
> From org.apache.hadoop.io.compress.bzip2.CBZip2InputStream.java:
> {code}
> private static void reportCRCError() throws IOException {
>    // The clean way would be to throw an exception.
>    // throw new IOException("crc error");
>    // Just print a message, like the previous versions of this class did
>    System.err.println("BZip2 CRC error");
> }
> {code}

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


Mime
View raw message