Class DiffTables

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

public class DiffTables extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
  • Field Details

  • Constructor Details

    • DiffTables

      public DiffTables()
  • Method Details

    • createSubmittableMapReduceJob

      public static org.apache.hadoop.mapreduce.Job createSubmittableMapReduceJob(org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException
      Throws:
      IOException
    • run

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

      public static boolean doCommandLine(String[] args)
    • printUsage

      public static void printUsage(String errorMsg)
    • copyMerge

      public static boolean copyMerge(org.apache.hadoop.fs.FileSystem srcFS, org.apache.hadoop.fs.Path srcDir, org.apache.hadoop.fs.FileSystem dstFS, org.apache.hadoop.fs.Path dstFile, org.apache.hadoop.conf.Configuration conf, String prefix) throws IOException
      Copy all files in a directory to one output file (merge).
      Throws:
      IOException
    • main

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