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:56:49 UTC

[hbase] branch branch-2.1 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.1
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new d4d58f3  HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully-qualified name (#462)
d4d58f3 is described below

commit d4d58f325082140e4c6831cd81d4eb76b15d6295
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 089f366..1980c8a 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
@@ -61,10 +61,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
@@ -76,7 +78,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);