Package org.apache.phoenix.tool
Class PhoenixCanaryTool
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.phoenix.tool.PhoenixCanaryTool
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
public class PhoenixCanaryTool
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
A Canary Tool to perform synthetic tests for Phoenix
It assumes that TEST.PQSTEST or the schema.table passed in the argument
is already present as following command
CREATE TABLE IF NOT EXISTS TEST.PQSTEST (mykey INTEGER NOT NULL
PRIMARY KEY, mycolumn VARCHAR, insert_date TIMESTAMP);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation of File Out Sinkstatic interfaceSink interface used by the canary to output informationstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
propFileName
- See Also:
-
-
Constructor Details
-
PhoenixCanaryTool
public PhoenixCanaryTool()
-
-
Method Details
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
main
-