HBASE-9423 Log splitting should not start till HDFS out of safe mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1519910 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09df79e588
commit
9da78ca043
@ -120,14 +120,15 @@ public class MasterFileSystem {
|
|||||||
FSUtils.setFsDefault(conf, new Path(this.fs.getUri()));
|
FSUtils.setFsDefault(conf, new Path(this.fs.getUri()));
|
||||||
// make sure the fs has the same conf
|
// make sure the fs has the same conf
|
||||||
fs.setConf(conf);
|
fs.setConf(conf);
|
||||||
this.splitLogManager = new SplitLogManager(master.getZooKeeper(), master.getConfiguration(),
|
|
||||||
master, services, master.getServerName(), masterRecovery);
|
|
||||||
this.distributedLogReplay = this.conf.getBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY,
|
this.distributedLogReplay = this.conf.getBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY,
|
||||||
HConstants.DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG);
|
HConstants.DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG);
|
||||||
// setup the filesystem variable
|
// setup the filesystem variable
|
||||||
// set up the archived logs path
|
// set up the archived logs path
|
||||||
this.oldLogDir = createInitialFileSystemLayout();
|
this.oldLogDir = createInitialFileSystemLayout();
|
||||||
HFileSystem.addLocationsOrderInterceptor(conf);
|
HFileSystem.addLocationsOrderInterceptor(conf);
|
||||||
|
this.splitLogManager = new SplitLogManager(master.getZooKeeper(),
|
||||||
|
master.getConfiguration(), master, services,
|
||||||
|
master.getServerName(), masterRecovery);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user