hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject svn commit: r1519910 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Date Wed, 04 Sep 2013 03:25:11 GMT
Author: jxiang
Date: Wed Sep  4 03:25:10 2013
New Revision: 1519910

URL: http://svn.apache.org/r1519910
Log:
HBASE-9423 Log splitting should not start till HDFS out of safe mode

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java?rev=1519910&r1=1519909&r2=1519910&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Wed Sep  4 03:25:10 2013
@@ -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);
   }
 
   /**



Mime
View raw message