You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sa...@apache.org on 2019/08/07 17:58:14 UTC
[hbase] branch branch-2.2 updated: HBASE-22812 InterfaceAudience
annotation in CatalogJanitor uses fully-qualified name (#462)
This is an automated email from the ASF dual-hosted git repository.
sakthi pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new 08b1f15 HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully-qualified name (#462)
08b1f15 is described below
commit 08b1f151f2bb82b96aea88c8820a53e34a9b38ca
Author: syedmurtazahassan <sy...@gmail.com>
AuthorDate: Wed Aug 7 19:38:09 2019 +0200
HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully-qualified name (#462)
Signed-off-by: Stack <st...@apache.org>
Signed-off-by: Sakthi <sa...@apache.org>
---
.../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 e6564a5..46569ef 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'.
-@org.apache.yetus.audience.InterfaceAudience.Private
+@InterfaceAudience.Private
public class CatalogJanitor extends ScheduledChore {
private static final Logger LOG = LoggerFactory.getLogger(CatalogJanitor.class.getName());
private final AtomicBoolean alreadyRunning = new AtomicBoolean(false);