hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13576) HBCK enhancement: Failure in checking one region should not fail the entire HBCK operation.
Date Wed, 06 May 2015 22:47:00 GMT

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

Hudson commented on HBASE-13576:
--------------------------------

SUCCESS: Integrated in HBase-1.1 #472 (See [https://builds.apache.org/job/HBase-1.1/472/])
HBASE-13576 HBCK enhancement: Failure in checking one region should not fail the entire HBCK
operation. (Stephen Yuan Jiang) (enis: rev 31ff3e75860bff35b638a7e5b88ea2d959212063)
* hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java


> HBCK enhancement: Failure in checking one region should not fail the entire HBCK operation.
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13576
>                 URL: https://issues.apache.org/jira/browse/HBASE-13576
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 2.0.0, 1.1.0, 1.2.0
>            Reporter: Stephen Yuan Jiang
>            Assignee: Stephen Yuan Jiang
>             Fix For: 2.0.0, 1.1.0, 1.2.0
>
>         Attachments: HBASE-13576.v1-master.patch, HBASE-13576.v2-master.patch, HBASE-13576.v3-master.patch
>
>
> HBaseFsck#checkRegionConsistency() checks region consistency and repair the corruption
if requested.  However, this function expects some exceptions.  For example, in one aspect
of region repair, it calls HBaseFsckRepair#waitUntilAssigned(), if a region is in transition
for over 120 seconds (default value of "hbase.hbck.assign.timeout" configuration), IOException
would throw.
> The problem is that one exception in checkRegionConsistency() would kill entire hbck
operation, because the exception would propagate up.
> The proposal is that if the region is not META region ( or a system table region if we
prefer),  we can skip the region if  HBaseFsck#checkRegionConsistency() fails.  We could print
out skip regions in summary section so that users know to either re-run or investigate potential
issue for that region. 



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

Mime
View raw message