Uses of Interface
org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm
Package
Description
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
-
Uses of RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.mapred
Modifier and TypeMethodDescriptionstatic void
TableMapReduceUtil.initTableSnapshotMapJob
(String snapshotName, String columns, Class<? extends TableMap> mapper, Class<?> outputKeyClass, Class<?> outputValueClass, org.apache.hadoop.mapred.JobConf jobConf, boolean addDependencyJars, org.apache.hadoop.fs.Path tmpRestoreDir, RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Sets up the job for reading from a table snapshot.static void
TableSnapshotInputFormat.setInput
(org.apache.hadoop.mapred.JobConf job, String snapshotName, org.apache.hadoop.fs.Path restoreDir, RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Configures the job to use TableSnapshotInputFormat to read from a snapshot. -
Uses of RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionTableSnapshotInputFormatImpl.getSplitAlgo
(org.apache.hadoop.conf.Configuration conf) Modifier and TypeMethodDescriptionTableSnapshotInputFormatImpl.getSplits
(Scan scan, SnapshotManifest manifest, List<HRegionInfo> regionManifests, org.apache.hadoop.fs.Path restoreDir, org.apache.hadoop.conf.Configuration conf, RegionSplitter.SplitAlgorithm sa, int numSplits) static void
TableMapReduceUtil.initTableSnapshotMapperJob
(String snapshotName, Scan scan, Class<? extends TableMapper> mapper, Class<?> outputKeyClass, Class<?> outputValueClass, org.apache.hadoop.mapreduce.Job job, boolean addDependencyJars, org.apache.hadoop.fs.Path tmpRestoreDir, RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Sets up the job for reading from a table snapshot.static void
TableSnapshotInputFormat.setInput
(org.apache.hadoop.mapreduce.Job job, String snapshotName, org.apache.hadoop.fs.Path restoreDir, RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Configures the job to use TableSnapshotInputFormat to read from a snapshot.static void
TableSnapshotInputFormatImpl.setInput
(org.apache.hadoop.conf.Configuration conf, String snapshotName, org.apache.hadoop.fs.Path restoreDir, RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Configures the job to use TableSnapshotInputFormat to read from a snapshot. -
Uses of RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.util
Modifier and TypeClassDescriptionstatic class
The format of a DecimalStringSplit region boundary is the ASCII representation of reversed sequential number, or any other uniformly distributed decimal value.static class
HexStringSplit is a well-knownRegionSplitter.SplitAlgorithm
for choosing region boundaries.static class
static class
A SplitAlgorithm that divides the space of possible keys evenly.Modifier and TypeMethodDescriptionRegionSplitter.newSplitAlgoInstance
(org.apache.hadoop.conf.Configuration conf, String splitClassName) Modifier and TypeMethodDescription(package private) static void
RegionSplitter.createPresplitTable
(TableName tableName, RegionSplitter.SplitAlgorithm splitAlgo, String[] columnFamilies, org.apache.hadoop.conf.Configuration conf) (package private) static LinkedList<Pair<byte[],
byte[]>> RegionSplitter.getSplits
(Connection connection, TableName tableName, RegionSplitter.SplitAlgorithm splitAlgo) (package private) static void
RegionSplitter.rollingSplit
(TableName tableName, RegionSplitter.SplitAlgorithm splitAlgo, org.apache.hadoop.conf.Configuration conf) (package private) static LinkedList<Pair<byte[],
byte[]>> RegionSplitter.splitScan
(LinkedList<Pair<byte[], byte[]>> regionList, Connection connection, TableName tableName, RegionSplitter.SplitAlgorithm splitAlgo)