liuxiaocs7 commented on code in PR #8331:
URL: https://github.com/apache/hbase/pull/8331#discussion_r3410981376


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHdfsSnapshotHRegion.java:
##########
@@ -92,10 +92,9 @@ public void 
testSnapshottingWithTmpSplitsAndMergeDirectoriesPresent() throws Exc
     Path regionDirectoryPath = new Path(tableDir, encodedName);
     TEST_UTIL.getTestFileSystem()
       .create(new Path(regionDirectoryPath, 
HRegionFileSystem.REGION_TEMP_DIR));
-    TEST_UTIL.getTestFileSystem()
-      .create(new Path(regionDirectoryPath, 
HRegionFileSystem.REGION_SPLITS_DIR));
-    TEST_UTIL.getTestFileSystem()
-      .create(new Path(regionDirectoryPath, 
HRegionFileSystem.REGION_MERGES_DIR));
+    // Legacy directories created by split/merge before HBASE-26187
+    TEST_UTIL.getTestFileSystem().create(new Path(regionDirectoryPath, 
".splits"));

Review Comment:
   Thanks for your comments, agree with your points, removed them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to