Class CopyTable

java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.fs.hbase.tools.mapreduce.CopyTable
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class CopyTable extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Copy a table.
  • Constructor Details

    • CopyTable

      public CopyTable()
  • Method Details

    • setScanColumns

      protected void setScanColumns(org.apache.hadoop.hbase.client.Scan scan)
    • run

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

      public int run_MR() throws Exception
      Throws:
      Exception
    • run_NoMR

      public int run_NoMR() throws Exception
      Throws:
      Exception
    • copy

      public static boolean copy(String[] args, String user) throws Exception
      Throws:
      Exception
    • setJobSuccessful

      public static void setJobSuccessful()
    • main

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

      public static void clearBulkLoad(String tableName) throws Exception
      Throws:
      Exception