Package com.mapr.db.mapreduce.tools
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcompareChecksum(String srcFileUri, String dstFileUri, String mismatchedFile) intlaunchDiffTablesJob(String diffTableOutDirPathName, String srcSubRegionKeyFilePathName, String mismatchedPathName, String[] args, boolean isSecureCluster) static voidintMethods 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
-
NumThreads
public final int NumThreads- See Also:
-
NAME
- See Also:
-
SrcChecksumJobNAME
- See Also:
-
DstChecksumJobNAME
- See Also:
-
outputDir
-
outputDiffCrcDir
-
outputFileLocation
-
-
Constructor Details
-
DiffTablesWithCrc
public DiffTablesWithCrc()
-
-
Method Details
-
compareChecksum
public static void compareChecksum(String srcFileUri, String dstFileUri, String mismatchedFile) throws IOException - Throws:
IOException
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
launchDiffTablesJob
-
main
- Throws:
Exception
-