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

Anoop Sam John commented on HBASE-13886:
----------------------------------------

Returning empty value is right always? May be Scan/Get has to take it as an 
attribute? By default go with existing way and if scan/get says so to return 
empty value, we do that.
One use case I am seeing is suppose the table contain student details and MOB 
column is student picture. Now while reading, with out showing the pic also the 
o/p can be rendered. So this case, throwing the exception and not returning 
other student details might not be correct.

> 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