hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkumar Vadali (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2660) Need better exception handling in RCFile tolerate corruptions mode
Date Fri, 16 Dec 2011 08:30:31 GMT

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

Ramkumar Vadali updated HIVE-2660:
----------------------------------

    Attachment: HIVE-2660.patch
    
> Need better exception handling in RCFile tolerate corruptions mode
> ------------------------------------------------------------------
>
>                 Key: HIVE-2660
>                 URL: https://issues.apache.org/jira/browse/HIVE-2660
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Ramkumar Vadali
>            Assignee: Ramkumar Vadali
>            Priority: Minor
>         Attachments: HIVE-2660.patch
>
>
> The exception handling in nextKeyValueTolerateCorruptions treats IOException as follows:
>  - if EOFException, corrupt, can be tolerated
>  - If CheckSumException, corrupt, can be tolerated
>  - else not a corruption, re-throw
> But the compression code can also throw IOException in case of corruption, which will
get re-thrown in this case.
> The correct way of handling IOException is:
>  - if BlockMissingException, re-throw.
>  - if not BlockMissingException -> corruption, can be tolerated

--
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

        

Mime
View raw message