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

Duo Zhang commented on HBASE-18786:
-----------------------------------

For me, FNFE should not happen and if it happens then there must be serious 
bugs that may cause data loss.

That's why I introduce a config, the intention is to disable the feature as we 
used to always handle it silently...

On a mobile phone so can not find the related issues right now, will link them 
here later. And I'm +1 on do not handle FNFE in our common code path.

Thanks.

> FileNotFoundException should not be silently handled for primary region 
> replicas
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-18786
>                 URL: https://issues.apache.org/jira/browse/HBASE-18786
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: Ashu Pachauri
>             Fix For: 1.3.2
>
>
> This is a follow up for HBASE-18186.
> FileNotFoundException while scanning from a primary region replica can be 
> indicative of a more severe problem. Handling them silently can cause many 
> underlying issues go undetected. We should either
> 1. Hard fail the regionserver if there is a FNFE on a primary region replica, 
> OR
> 2. Report these exceptions as some region / server level metric so that these 
> can be proactively investigated.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to