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()));
|
||||
// make sure the fs has the same 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,
|
||||
HConstants.DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG);
|
||||
// setup the filesystem variable
|
||||
// set up the archived logs path
|
||||
this.oldLogDir = createInitialFileSystemLayout();
|
||||
HFileSystem.addLocationsOrderInterceptor(conf);
|
||||
this.splitLogManager = new SplitLogManager(master.getZooKeeper(),
|
||||
master.getConfiguration(), master, services,
|
||||
master.getServerName(), masterRecovery);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue