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

ramkrishna.s.vasudevan commented on HBASE-9522:
-----------------------------------------------

Yes HBCK is one option but that would mean that it should be done offline like 
running this tool and getting things ready.  This also could be an option (need 
to see if hbck handles these scenarios).
One thing what I thought was can be do it online so that if the configuration 
is set to true ignore the exception.  Scenario could be where we know that for 
a particular HFiles the replication is either down or corrupted and am ok if I 
am able to get back the available data.
                
> Allow region opening even if creation of some HFile Readers fail.
> -----------------------------------------------------------------
>
>                 Key: HBASE-9522
>                 URL: https://issues.apache.org/jira/browse/HBASE-9522
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.95.2, 0.94.11, 0.96.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Minor
>             Fix For: 0.98.0, 0.96.0, 0.94.13
>
>
> In some scenarios, when am sure that the Reader creation while region opening 
> would fail, it would be better if the region still opens with a warning.  
> This would ensure that atleast the data that is available can be read instead 
> of failing the region assignment.  
> Agree that, this should be based on a configuration.  If you feel this is ok, 
> I can give a patch.  The patch would just collect a list of store files for 
> which the region opening failed and just log those files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to