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:
parent
241c197315
commit
8e2f6f8238
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue