[ 
https://issues.apache.org/jira/browse/HIVE-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170829#comment-13170829
 ] 

Namit Jain commented on HIVE-2660:
----------------------------------

+1

                
> 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

        

Reply via email to