org.apache.hadoop.hbase.tool
Class Canary

java.lang.Object
  extended by org.apache.hadoop.hbase.tool.Canary
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public final class Canary
extends Object
implements org.apache.hadoop.util.Tool

HBase Canary Tool, that that can be used to do "canary monitoring" of a running HBase cluster. Foreach region tries to get one row per column family and outputs some information about failure or latency.


Nested Class Summary
static interface Canary.Sink
           
static class Canary.StdOutSink
           
 
Constructor Summary
Canary()
           
Canary(Canary.Sink sink)
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
static void main(String[] args)
           
 int run(String[] args)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Canary

public Canary()

Canary

public Canary(Canary.Sink sink)
Method Detail

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable

run

public int run(String[] args)
        throws Exception
Specified by:
run in interface org.apache.hadoop.util.Tool
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.