Skip to content

Commit d4d58f3

Browse files
murtazahassan123the-sakthi
authored andcommitted
HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully-qualified name (#462)
Signed-off-by: Stack <stack@apache.org> Signed-off-by: Sakthi <sakthi@apache.org>
1 parent 0d50ce1 commit d4d58f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@
6161
import org.apache.hadoop.hbase.util.Pair;
6262
import org.apache.hadoop.hbase.util.PairOfSameType;
6363
import org.apache.hadoop.hbase.util.Threads;
64-
import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
64+
import org.apache.yetus.audience.InterfaceAudience;
6565
import org.slf4j.Logger;
6666
import org.slf4j.LoggerFactory;
6767

68+
import org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting;
69+
6870
/**
6971
* A janitor for the catalog tables. Scans the <code>hbase:meta</code> catalog
7072
* table on a period. Makes a lastReport on state of hbase:meta. Looks for unused
@@ -76,7 +78,7 @@
7678
// TODO: Only works with single hbase:meta region currently. Fix.
7779
// TODO: Should it start over every time? Could it continue if runs into problem? Only if
7880
// problem does not mess up 'results'.
79-
@org.apache.yetus.audience.InterfaceAudience.Private
81+
@InterfaceAudience.Private
8082
public class CatalogJanitor extends ScheduledChore {
8183
private static final Logger LOG = LoggerFactory.getLogger(CatalogJanitor.class.getName());
8284
private final AtomicBoolean alreadyRunning = new AtomicBoolean(false);

0 commit comments

Comments
 (0)