Class HashTable
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.mapreduce.HashTable
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
@Private
public class HashTable
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
(package private) static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
(package private) org.apache.hadoop.fs.Path
private static final String
(package private) static final String
(package private) static final String
private static final org.slf4j.Logger
(package private) static final String
private static final int
(package private) static final String
(package private) static final String
(package private) HashTable.TableHash
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
org.apache.hadoop.mapreduce.Job
createSubmittableJob
(String[] args) private boolean
doCommandLine
(String[] args) private void
generatePartitions
(org.apache.hadoop.fs.Path partitionsPath) (package private) static boolean
isTableEndRow
(byte[] row) (package private) static boolean
isTableStartRow
(byte[] row) static void
Main entry point.private static void
printUsage
(String errorMsg) int
private void
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
-
DEFAULT_BATCH_SIZE
- See Also:
-
HASH_BATCH_SIZE_CONF_KEY
- See Also:
-
PARTITIONS_FILE_NAME
- See Also:
-
MANIFEST_FILE_NAME
- See Also:
-
HASH_DATA_DIR
- See Also:
-
OUTPUT_DATA_FILE_PREFIX
- See Also:
-
IGNORE_TIMESTAMPS
- See Also:
-
TMP_MANIFEST_FILE_NAME
- See Also:
-
tableHash
-
destPath
org.apache.hadoop.fs.Path destPath -
NUM_ARGS
- See Also:
-
-
Constructor Details
-
HashTable
-
-
Method Details
-
isTableStartRow
-
isTableEndRow
-
createSubmittableJob
- Throws:
IOException
-
generatePartitions
- Throws:
IOException
-
writeTempManifestFile
- Throws:
IOException
-
completeManifest
- Throws:
IOException
-
printUsage
-
doCommandLine
-
main
Main entry point.- Throws:
Exception
-
run
- Specified by:
run
in interfaceorg.apache.hadoop.util.Tool
- Throws:
Exception
-