taklwu commented on a change in pull request #88:
URL: 
https://github.com/apache/hbase-operator-tools/pull/88#discussion_r643404148



##########
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:
       thanks @anoopsjohn , I renamed that to `getRootDirFileSystem`




-- 
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:
us...@infra.apache.org


Reply via email to