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 org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing. -
Uses of org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.mapred
Modifier and TypeMethodDescriptionstatic void
TableMapReduceUtil.initTableSnapshotMapJob
(String snapshotName, String columns, Class<? extends org.apache.hadoop.hbase.mapred.TableMap> mapper, Class<?> outputKeyClass, Class<?> outputValueClass, org.apache.hadoop.mapred.JobConf jobConf, boolean addDependencyJars, org.apache.hadoop.fs.Path tmpRestoreDir, org.apache.hadoop.hbase.util.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, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Configures the job to use TableSnapshotInputFormat to read from a snapshot. -
Uses of org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm
TableSnapshotInputFormatImpl.getSplitAlgo
(org.apache.hadoop.conf.Configuration conf) Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl.InputSplit>
TableSnapshotInputFormatImpl.getSplits
(org.apache.hadoop.hbase.client.Scan scan, org.apache.hadoop.hbase.snapshot.SnapshotManifest manifest, List<org.apache.hadoop.hbase.client.RegionInfo> regionManifests, org.apache.hadoop.fs.Path restoreDir, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm sa, int numSplits) static void
TableMapReduceUtil.initTableSnapshotMapperJob
(String snapshotName, org.apache.hadoop.hbase.client.Scan scan, Class<? extends org.apache.hadoop.hbase.mapreduce.TableMapper> mapper, Class<?> outputKeyClass, Class<?> outputValueClass, org.apache.hadoop.mapreduce.Job job, boolean addDependencyJars, org.apache.hadoop.fs.Path tmpRestoreDir, org.apache.hadoop.hbase.util.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, org.apache.hadoop.hbase.util.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, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitAlgo, int numSplitsPerRegion) Configures the job to use TableSnapshotInputFormat to read from a snapshot. -
Uses of org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm in org.apache.hadoop.hbase.util
Modifier and TypeClassDescriptionstatic class
org.apache.hadoop.hbase.util.RegionSplitter.DecimalStringSplit
The format of a DecimalStringSplit region boundary is the ASCII representation of reversed sequential number, or any other uniformly distributed decimal value.static class
org.apache.hadoop.hbase.util.RegionSplitter.HexStringSplit
HexStringSplit is a well-knownRegionSplitter.SplitAlgorithm
for choosing region boundaries.static class
org.apache.hadoop.hbase.util.RegionSplitter.NumberStringSplit
static class
org.apache.hadoop.hbase.util.RegionSplitter.UniformSplit
A SplitAlgorithm that divides the space of possible keys evenly.Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm
RegionSplitter.newSplitAlgoInstance
(org.apache.hadoop.conf.Configuration conf, String splitClassName) Modifier and TypeMethodDescriptionstatic int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Creates a pre-split table for load testing.