private ZookeeperStdOutSink getSink() {
      if (!(sink instanceof ZookeeperStdOutSink)) {
        throw new RuntimeException("Can only write to zookeeper sink");
      }
      return ((ZookeeperStdOutSink) sink);
    }
Canary entry point for specified table.
@throws Exception exception
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/CanaryTool.java