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, process
private 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
IOException
private HRegionInfo nextRegion() throws IOException
IOException
private Result getMetaRow() throws IOException
IOException
protected HRegionInfo[] next() throws IOException
next
in class HMerge.Merger
IOException
protected void updateMeta(byte[] oldRegion1, byte[] oldRegion2, HRegion newRegion) throws IOException
updateMeta
in class HMerge.Merger
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.