anoopsjohn commented on a change in pull request #88:
URL:
https://github.com/apache/hbase-operator-tools/pull/88#discussion_r643642855
##########
File path: hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBaseFsck.java
##########
@@ -1927,7 +1931,7 @@ public boolean rebuildMeta() throws IOException,
InterruptedException {
HBaseTestingUtility.closeRegionAndWAL(meta);
// Clean out the WAL we created and used here.
LOG.info("Deleting {}, result={}", waldir,
- CommonFSUtils.delete(FileSystem.get(getConf()), waldir, true));
+ HBCKFsUtils.delete(waldir.getFileSystem(getConf()), waldir, true));
Review comment:
Not on this patch. But here is an issue. The actual delete() call
happening within a Log statement. If INFO level not enabled, the delete wont
get called. Can we fix that also here pls?
--
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]