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

Andrew Purtell commented on HBASE-13886:
----------------------------------------

The best thing to do here is simply throw exceptions for all corruptions, 
including missing files. Returning silently corrupt data to the user, at least 
if it is default behavior, would be bad.

> Return empty value when the mob file is corrupt instead of throwing exceptions
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-13886
>                 URL: https://issues.apache.org/jira/browse/HBASE-13886
>             Project: HBase
>          Issue Type: Sub-task
>          Components: mob
>    Affects Versions: hbase-11339
>            Reporter: Jingcheng Du
>            Assignee: Jingcheng Du
>             Fix For: hbase-11339
>
>         Attachments: HBASE-13886.diff
>
>
> Now in reading, CorruptHFileException is thrown if the target mob file is 
> corrupt. We can return empty value for that mob cell instead of throwing 
> exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to