Skip to content

Commit

Permalink
HBASE-23715 MasterFileSystem should not create MasterProcWALs dir on … (
Browse files Browse the repository at this point in the history
apache#1078)

Signed-off-by: Josh Elser <[email protected]>
  • Loading branch information
wchevreuil authored and thangTang committed Apr 16, 2020
1 parent 7b9d843 commit b9fcd13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import org.apache.hadoop.hbase.fs.HFileSystem;
import org.apache.hadoop.hbase.log.HBaseMarkers;
import org.apache.hadoop.hbase.mob.MobConstants;
import org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore;
import org.apache.hadoop.hbase.regionserver.HRegion;
import org.apache.hadoop.hbase.replication.ReplicationUtils;
import org.apache.hadoop.hbase.security.access.SnapshotScannerHDFSAclHelper;
Expand Down Expand Up @@ -144,11 +143,12 @@ private void createInitialFileSystemLayout() throws IOException {
MobConstants.MOB_DIR_NAME
};

//With the introduction of RegionProcedureStore,
// there's no need to create MasterProcWAL dir here anymore. See HBASE-23715
final String[] protectedSubLogDirs = new String[] {
HConstants.HREGION_LOGDIR_NAME,
HConstants.HREGION_OLDLOGDIR_NAME,
HConstants.CORRUPT_DIR_NAME,
WALProcedureStore.MASTER_PROCEDURE_LOGDIR,
ReplicationUtils.REMOTE_WAL_DIR_NAME
};
// check if the root directory exists
Expand Down

0 comments on commit b9fcd13

Please sign in to comment.