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

Co-authored-by: xuyu <11161569@vivo.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit dd3b1630e8)
This commit is contained in:
xuzifu666 2023-03-21 22:46:15 +08:00 committed by Duo Zhang
parent 241c197315
commit 8e2f6f8238
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.