Repository: hbase Updated Branches: refs/heads/branch-1 0d8e7b2f6 -> 37040bfc4
HBASE-15775 Canary launches two AuthUtil Chores Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/37040bfc Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/37040bfc Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/37040bfc Branch: refs/heads/branch-1 Commit: 37040bfc42883a29fc9ff5edb4fe2ab32b81ad63 Parents: 0d8e7b2 Author: stack <st...@apache.org> Authored: Fri Jul 8 09:36:17 2016 -0700 Committer: stack <st...@apache.org> Committed: Fri Jul 8 09:36:17 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/tool/Canary.java | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/37040bfc/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java index ca27e71..1e27dcb 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java @@ -1481,11 +1481,6 @@ public final class Canary implements Tool { public static void main(String[] args) throws Exception { final Configuration conf = HBaseConfiguration.create(); - final ChoreService choreService = new ChoreService("CANARY_TOOL"); - final ScheduledChore authChore = AuthUtil.getAuthChore(conf); - if (authChore != null) { - choreService.scheduleChore(authChore); - } // loading the generic options to conf new GenericOptionsParser(conf, args); @@ -1500,7 +1495,6 @@ public final class Canary implements Tool { Sink sink = ReflectionUtils.newInstance(sinkClass); int exitCode = ToolRunner.run(conf, new Canary(executor, sink), args); - choreService.shutdown(); executor.shutdown(); System.exit(exitCode); }