HBASE-7787 Remove HLogSplitter.RECOVERED_EDITS duplicate of HLog.RECOVERED_EDITS_DIR
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1443731 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
08c2cf99ef
commit
1a4a882284
|
@ -83,13 +83,6 @@ import com.google.common.collect.Lists;
|
||||||
public class HLogSplitter {
|
public class HLogSplitter {
|
||||||
private static final String LOG_SPLITTER_IMPL = "hbase.hlog.splitter.impl";
|
private static final String LOG_SPLITTER_IMPL = "hbase.hlog.splitter.impl";
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of file that holds recovered edits written by the wal log splitting
|
|
||||||
* code, one per region
|
|
||||||
*/
|
|
||||||
public static final String RECOVERED_EDITS = "recovered.edits";
|
|
||||||
|
|
||||||
|
|
||||||
static final Log LOG = LogFactory.getLog(HLogSplitter.class);
|
static final Log LOG = LogFactory.getLog(HLogSplitter.class);
|
||||||
|
|
||||||
private boolean hasSplit = false;
|
private boolean hasSplit = false;
|
||||||
|
|
|
@ -1076,7 +1076,7 @@ public class TestHLogSplit {
|
||||||
}
|
}
|
||||||
Path tableDir = new Path(HBASEDIR, new String(TABLE_NAME));
|
Path tableDir = new Path(HBASEDIR, new String(TABLE_NAME));
|
||||||
Path regionDir = new Path(tableDir, REGIONS.get(0));
|
Path regionDir = new Path(tableDir, REGIONS.get(0));
|
||||||
Path recoveredEdits = new Path(regionDir, HLogSplitter.RECOVERED_EDITS);
|
Path recoveredEdits = new Path(regionDir, HLog.RECOVERED_EDITS_DIR);
|
||||||
String region = "juliet";
|
String region = "juliet";
|
||||||
Path julietLog = new Path(HLOGDIR, HLOG_FILE_PREFIX + ".juliet");
|
Path julietLog = new Path(HLOGDIR, HLOG_FILE_PREFIX + ".juliet");
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue