Skip to content

Commit

Permalink
HBASE-22812 InterfaceAudience annotation in CatalogJanitor uses fully…
Browse files Browse the repository at this point in the history
…-qualified name (#462)

Signed-off-by: Stack <stack@apache.org>
Signed-off-by: Sakthi <sakthi@apache.org>
  • Loading branch information
murtazahassan123 authored and jatsakthi committed Aug 7, 2019
1 parent 0d50ce1 commit d4d58f3
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -61,10 +61,12 @@
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
Expand All @@ -76,7 +78,7 @@
// 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);
Expand Down

0 comments on commit d4d58f3

Please sign in to comment.