Skip to content

Commit aca7f6f

Browse files
wchevreuilApache9
authored andcommitted
HBASE-23716 MasterFileSystem should not create MasterProcWALs dir on … (#1078)
Signed-off-by: Josh Elser <elserj@apache.org>
1 parent d522ef2 commit aca7f6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import org.apache.hadoop.hbase.fs.HFileSystem;
3939
import org.apache.hadoop.hbase.log.HBaseMarkers;
4040
import org.apache.hadoop.hbase.mob.MobConstants;
41-
import org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore;
4241
import org.apache.hadoop.hbase.regionserver.HRegion;
4342
import org.apache.hadoop.hbase.security.access.SnapshotScannerHDFSAclHelper;
4443
import org.apache.hadoop.hbase.util.Bytes;
@@ -144,11 +143,12 @@ private void createInitialFileSystemLayout() throws IOException {
144143
MobConstants.MOB_DIR_NAME
145144
};
146145

146+
//With the introduction of RegionProcedureStore,
147+
// there's no need to create MasterProcWAL dir here anymore. See HBASE-23715
147148
final String[] protectedSubLogDirs = new String[] {
148149
HConstants.HREGION_LOGDIR_NAME,
149150
HConstants.HREGION_OLDLOGDIR_NAME,
150-
HConstants.CORRUPT_DIR_NAME,
151-
WALProcedureStore.MASTER_PROCEDURE_LOGDIR
151+
HConstants.CORRUPT_DIR_NAME
152152
};
153153
// check if the root directory exists
154154
checkRootDir(this.rootdir, conf, this.fs);

0 commit comments

Comments
 (0)