You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/03/21 14:46:25 UTC
[hbase] branch master updated: HBASE-27736 HFileSystem.getLocalFs is not used (#5125)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new dd3b1630e84 HBASE-27736 HFileSystem.getLocalFs is not used (#5125)
dd3b1630e84 is described below
commit dd3b1630e848d34db432526dee86289439594510
Author: xuzifu666 <12...@qq.com>
AuthorDate: Tue Mar 21 22:46:15 2023 +0800
HBASE-27736 HFileSystem.getLocalFs is not used (#5125)
Co-authored-by: xuyu <11...@vivo.com>
Signed-off-by: Duo Zhang <zh...@apache.org>
---
.../src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java
index f02419ca90f..ac90d2c686c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java
@@ -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.