Class DiffTablesWithCrc

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

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

  • Constructor Details

    • DiffTablesWithCrc

      public DiffTablesWithCrc()
  • Method Details

    • compareChecksum

      public static void compareChecksum(String srcFileUri, String dstFileUri, String mismatchedFile) throws IOException
      Throws:
      IOException
    • run

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

      public int launchDiffTablesJob(String diffTableOutDirPathName, String srcSubRegionKeyFilePathName, String mismatchedPathName, String[] args, boolean isSecureCluster)
    • main

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