HBASE-27736 HFileSystem.getLocalFs is not used (#5125)

Co-authored-by: xuyu <11161569@vivo.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
xuzifu666 2023-03-21 22:46:15 +08:00 committed by GitHub
parent 52e69daaea
commit dd3b1630e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -451,13 +451,6 @@ public class HFileSystem extends FilterFileSystem {
return new HFileSystem(conf, true);
}
/**
* Wrap a LocalFileSystem within a HFileSystem.
*/
static public FileSystem getLocalFs(Configuration conf) throws IOException {
return new HFileSystem(FileSystem.getLocal(conf));
}
/**
* The org.apache.hadoop.fs.FilterFileSystem does not yet support createNonRecursive. This is a
* hadoop bug and when it is fixed in Hadoop, this definition will go away.