Apache9 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_r296557487
##########
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:
They are the same...
You can see the implementation of getRegionDirFromRootDir, it will first
generate the tableDir...
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services