hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Chansler (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 Wed, 18 Mar 2009 23:59:50 GMT

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

Robert Chansler updated HADOOP-5379:
------------------------------------

    Release Note:   (was: Edit release notes for publication.)

Edit release notes for publication.

> 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.0, 0.19.1, 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