private static class HMerge.OnlineMerger extends HMerge.Merger
| Modifier and Type | Field and Description |
|---|---|
private HRegionInfo |
latestRegion |
private ResultScanner |
metaScanner |
private Table |
table |
private TableName |
tableName |
conf, fs, htd, rootDir, walFactory| Constructor and Description |
|---|
HMerge.OnlineMerger(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName) |
| Modifier and Type | Method and Description |
|---|---|
private Result |
getMetaRow() |
protected HRegionInfo[] |
next() |
private HRegionInfo |
nextRegion() |
protected void |
updateMeta(byte[] oldRegion1,
byte[] oldRegion2,
HRegion newRegion) |
merge, processprivate final TableName tableName
private final Table table
private final ResultScanner metaScanner
private HRegionInfo latestRegion
HMerge.OnlineMerger(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName)
throws IOException
IOExceptionprivate HRegionInfo nextRegion() throws IOException
IOExceptionprivate Result getMetaRow() throws IOException
IOExceptionprotected HRegionInfo[] next() throws IOException
next in class HMerge.MergerIOExceptionprotected void updateMeta(byte[] oldRegion1,
byte[] oldRegion2,
HRegion newRegion)
throws IOException
updateMeta in class HMerge.MergerIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.