Class SyncTable
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.mapreduce.SyncTable
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
@Private
public class SyncTable
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.mapreduce.Counters
(package private) static final String
(package private) static final String
(package private) boolean
(package private) boolean
(package private) static final String
(package private) boolean
(package private) static final String
(package private) boolean
private static final org.slf4j.Logger
private static final int
(package private) static final String
(package private) static final String
(package private) static final String
(package private) org.apache.hadoop.fs.Path
(package private) String
(package private) String
(package private) static final String
(package private) static final String
(package private) String
(package private) String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.mapreduce.Job
createSubmittableJob
(String[] args) private boolean
doCommandLine
(String[] args) private void
initCredentialsForHBase
(String zookeeper, org.apache.hadoop.mapreduce.Job job) static void
Main entry point.private static void
printUsage
(String errorMsg) int
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
LOG
-
SOURCE_HASH_DIR_CONF_KEY
- See Also:
-
SOURCE_TABLE_CONF_KEY
- See Also:
-
TARGET_TABLE_CONF_KEY
- See Also:
-
SOURCE_ZK_CLUSTER_CONF_KEY
- See Also:
-
TARGET_ZK_CLUSTER_CONF_KEY
- See Also:
-
DRY_RUN_CONF_KEY
- See Also:
-
DO_DELETES_CONF_KEY
- See Also:
-
DO_PUTS_CONF_KEY
- See Also:
-
IGNORE_TIMESTAMPS
- See Also:
-
sourceHashDir
org.apache.hadoop.fs.Path sourceHashDir -
sourceTableName
-
targetTableName
-
sourceZkCluster
-
targetZkCluster
-
dryRun
boolean dryRun -
doDeletes
boolean doDeletes -
doPuts
boolean doPuts -
ignoreTimestamps
boolean ignoreTimestamps -
counters
org.apache.hadoop.mapreduce.Counters counters -
NUM_ARGS
- See Also:
-
-
Constructor Details
-
SyncTable
-
-
Method Details
-
initCredentialsForHBase
private void initCredentialsForHBase(String zookeeper, org.apache.hadoop.mapreduce.Job job) throws IOException - Throws:
IOException
-
createSubmittableJob
- Throws:
IOException
-
printUsage
-
doCommandLine
-
main
Main entry point.- Throws:
Exception
-
run
- Specified by:
run
in interfaceorg.apache.hadoop.util.Tool
- Throws:
Exception
-