anoopsjohn commented on a change in pull request #88:
URL:
https://github.com/apache/hbase-operator-tools/pull/88#discussion_r642383378
##########
File path: hbase-hbck2/src/main/java/org/apache/hbase/HBCKFsUtils.java
##########
@@ -107,6 +107,15 @@ public static Path getRootDir(final Configuration c)
throws IOException {
return p.makeQualified(fs.getUri(), fs.getWorkingDirectory());
}
+ /**
+ * @param conf must not be null
+ * @return Returns the filesystem of the hbase rootdir.
+ * @throws IOException from underlying FileSystem
+ */
+ public static FileSystem getCurrentFileSystem(Configuration conf) throws
IOException {
Review comment:
Should we call it getRootFileSystem ? For dir, we use rootDir and
walDir terms. Same way.
--
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]