[
https://issues.apache.org/jira/browse/HBASE-22378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839040#comment-16839040
]
Hudson commented on HBASE-22378:
--------------------------------
Results for branch branch-1.4
[build #794 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.4/794/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.4/794//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk7 checks{color}
-- For more information [see jdk7
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.4/794//JDK7_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.4/794//JDK8_Nightly_Build_Report_(Hadoop2)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
> HBase Canary fails with TableNotFoundException when table deleted during
> Canary run
> -----------------------------------------------------------------------------------
>
> Key: HBASE-22378
> URL: https://issues.apache.org/jira/browse/HBASE-22378
> Project: HBase
> Issue Type: Bug
> Components: canary
> Affects Versions: 3.0.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.5, 2.2.1
> Reporter: Caroline
> Assignee: Caroline
> Priority: Minor
> Labels: Canary
> Attachments: HBASE-22378.000.patch, HBASE-22378.branch-1.001.patch,
> HBASE-22378.branch-2.001.patch, HBASE-22378.master.000.patch
>
>
> In 1.3.2 branch-1, we saw a drastic increase in TableNotFoundExceptions
> thrown by HBase Canary. We traced the issue back to Canary trying to call
> isTableEnabled() on temporary tables that were deleted in the middle of the
> Canary run.
> In this version of HBase Canary, Canary throws TableNotFoundException (and
> then fails) if a table is deleted between admin.listTables() and
> admin.tableEnabled() function calls in RegionMonitor's sniff() method.
> Following the goal of RegionMonitor.sniff(), which is to query all existing
> tables, in order to reduce noise we should skip over a table (i.e. don't
> check if it was enabled, or do anything else with it at all) if it was
> returned in listTables() but deleted before Canary can query it. Temporary
> tables which are not meant to be kept should not throw
> TableNotFoundExceptions which fail the Canary.
> Patch in progress:
> Add a call to admin.tableExists() before tableEnabled() on line 1244 in
> RegionMonitor.sniff().
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)