You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/06/24 04:27:33 UTC

[GitHub] [hbase] infraio commented on a change in pull request #330: HBASE-22617 Recovered WAL directories not getting cleaned up

infraio commented on a change in pull request #330: HBASE-22617 Recovered WAL directories not getting cleaned up
URL: https://github.com/apache/hbase/pull/330#discussion_r296547701
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
 ##########
 @@ -221,7 +221,7 @@ public Path getWALRootDir() {
    * @return the directory for a give {@code region}.
    */
   public Path getRegionDir(RegionInfo region) {
-    return FSUtils.getRegionDir(FSUtils.getTableDir(getRootDir(), region.getTable()), region);
+    return FSUtils.getRegionDirFromRootDir(getRootDir(), region);
 
 Review comment:
   Why this? The old impl should be getRegionDirFromTableDir?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services