diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java index 9540d848d60..8786c5af554 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ChoreService.java @@ -50,7 +50,7 @@ import org.slf4j.LoggerFactory; * When finished with a ChoreService it is good practice to call {@link ChoreService#shutdown()}. * Calling this method ensures that all scheduled chores are cancelled and cleaned up properly. */ -@InterfaceAudience.Public +@InterfaceAudience.Private public class ChoreService { private static final Logger LOG = LoggerFactory.getLogger(ChoreService.class); diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java index aaedc78574b..ccb2a7296b1 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ScheduledChore.java @@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory; * Don't subclass ScheduledChore if the task relies on being woken up for something to do, such as * an entry being added to a queue, etc. */ -@InterfaceAudience.Public +@InterfaceAudience.Private public abstract class ScheduledChore implements Runnable { private static final Logger LOG = LoggerFactory.getLogger(ScheduledChore.class);