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:
jxiang 2013-09-04 03:25:10 +00:00
parent 09df79e588
commit 9da78ca043
1 changed files with 3 additions and 2 deletions

View File

@ -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);
}
/**