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);
  • Field Details

  • Constructor Details

    • PhoenixCanaryTool

      public PhoenixCanaryTool()
  • Method Details

    • 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)