This is an automated email from the ASF dual-hosted git repository.
sakthi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 49839e4 HBASE-22812 InterfaceAudience annotation in CatalogJanitor
uses fully… (#462)
49839e4 is described below
commit 49839e4075ca39e9b17c9e3d5d9e59e3119190ba
Author: syedmurtazahassan <[email protected]>
AuthorDate: Wed Aug 7 19:38:09 2019 +0200
HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully…
(#462)
Signed-off-by: Stack <[email protected]>
Signed-off-by: Sakthi <[email protected]>
---
.../main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
index 192bc84..e5537fb 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
@@ -62,10 +62,12 @@ import org.apache.hadoop.hbase.util.FSUtils;
import org.apache.hadoop.hbase.util.Pair;
import org.apache.hadoop.hbase.util.PairOfSameType;
import org.apache.hadoop.hbase.util.Threads;
-import
org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
+import org.apache.yetus.audience.InterfaceAudience;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import
org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
+
/**
* A janitor for the catalog tables. Scans the <code>hbase:meta</code> catalog
* table on a period. Makes a lastReport on state of hbase:meta. Looks for
unused
@@ -77,7 +79,7 @@ import org.slf4j.LoggerFactory;
// TODO: Only works with single hbase:meta region currently. Fix.
// TODO: Should it start over every time? Could it continue if runs into
problem? Only if
// problem does not mess up 'results'.
[email protected]
[email protected]
public class CatalogJanitor extends ScheduledChore {
private static final Logger LOG =
LoggerFactory.getLogger(CatalogJanitor.class.getName());
private final AtomicBoolean alreadyRunning = new AtomicBoolean(false);