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-15955) Disable action in CatalogJanitor#setEnabled should wait for active cleanup scan to finish
Date Sat, 04 Jun 2016 02:36:59 GMT

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

Hudson commented on HBASE-15955:
--------------------------------

FAILURE: Integrated in HBase-1.3 #724 (See [https://builds.apache.org/job/HBase-1.3/724/])
HBASE-15955 Disable action in CatalogJanitor#setEnabled should wait for (syuanjiangdev: rev
aa636bef4ceb4254467faff8b4841275486e86bf)
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java


> Disable action in CatalogJanitor#setEnabled should wait for active cleanup scan to finish
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-15955
>                 URL: https://issues.apache.org/jira/browse/HBASE-15955
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.0.0, 2.0.0
>            Reporter: Stephen Yuan Jiang
>            Assignee: Stephen Yuan Jiang
>             Fix For: 2.0.0, 1.3.0, 1.2.2, 1.1.6
>
>         Attachments: HBASE-15955.master-v1.patch
>
>
> When user calls Admin.enableCatalogJanitor(false) to disable the catalog janitor, it
expects that the janitor would stop working once the API returns.  It is not true, the janitor
could have an active scan going on and clean up unused region.  The 'false' state would be
enforced during the next background runs.  
> To avoid confusing, if 'CatalogJanitor.enabled' is true and we want to set to false in
CatalogJanitor#setEnabled, the function should wait for the on-going active scan to complete.



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

Mime
View raw message