HBASE-14384 changed Canary to use instance of ExtendedSink
Signed-off-by: Elliott Clark <eclark@apache.org>
This commit is contained in:
parent
0f0cdc5131
commit
4418f3e025
|
@ -1104,7 +1104,7 @@ public final class Canary implements Tool {
|
|||
ExecutorService executor = new ScheduledThreadPoolExecutor(numThreads);
|
||||
|
||||
Class<? extends Sink> sinkClass =
|
||||
conf.getClass("hbase.canary.sink.class", StdOutSink.class, Sink.class);
|
||||
conf.getClass("hbase.canary.sink.class", RegionServerStdOutSink.class, Sink.class);
|
||||
Sink sink = ReflectionUtils.newInstance(sinkClass);
|
||||
|
||||
int exitCode = ToolRunner.run(conf, new Canary(executor, sink), args);
|
||||
|
|
Loading…
Reference in New Issue