private abstract static class HMerge.Merger extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
protected org.apache.hadoop.fs.FileSystem |
fs |
protected HTableDescriptor |
htd |
private long |
maxFilesize |
protected org.apache.hadoop.fs.Path |
rootDir |
protected WALFactory |
walFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
HMerge.Merger(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
merge(HRegionInfo[] info) |
protected abstract HRegionInfo[] |
next() |
(package private) void |
process() |
protected abstract void |
updateMeta(byte[] oldRegion1,
byte[] oldRegion2,
HRegion newRegion) |
protected final org.apache.hadoop.conf.Configuration conf
protected final org.apache.hadoop.fs.FileSystem fs
protected final org.apache.hadoop.fs.Path rootDir
protected final HTableDescriptor htd
protected final WALFactory walFactory
private final long maxFilesize
protected HMerge.Merger(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName)
throws IOException
IOExceptionvoid process()
throws IOException
IOExceptionprotected boolean merge(HRegionInfo[] info) throws IOException
IOExceptionprotected abstract HRegionInfo[] next() throws IOException
IOExceptionprotected abstract void updateMeta(byte[] oldRegion1,
byte[] oldRegion2,
HRegion newRegion)
throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.