@InterfaceAudience.Public public interface Canary
| Modifier and Type | Method and Description | 
|---|---|
| int | checkRegions(String[] targets)Run Canary in Region mode. | 
| int | checkRegionServers(String[] targets)Runs Canary in Region server mode. | 
| int | checkZooKeeper()Runs Canary in Zookeeper mode. | 
| static Canary | create(org.apache.hadoop.conf.Configuration conf,
      ExecutorService executor) | 
| static Canary | create(org.apache.hadoop.conf.Configuration conf,
      ExecutorService executor,
      CanaryTool.Sink sink) | 
| Map<String,String> | getReadFailures() | 
| Map<String,String> | getWriteFailures() | 
static Canary create(org.apache.hadoop.conf.Configuration conf, ExecutorService executor)
@InterfaceAudience.Private static Canary create(org.apache.hadoop.conf.Configuration conf, ExecutorService executor, CanaryTool.Sink sink)
int checkRegions(String[] targets) throws Exception
targets - -- list of monitor tables.Exceptionint checkRegionServers(String[] targets) throws Exception
targets - -- list of monitor tables.Exceptionint checkZooKeeper() throws Exception
ExceptionMap<String,String> getReadFailures()
Map<String,String> getWriteFailures()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.