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 15:02:37 UTC
[hbase] branch branch-2 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 branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new a10cbf83192 HBASE-27736 HFileSystem.getLocalFs is not used (#5125)
a10cbf83192 is described below
commit a10cbf831929daeb0f8f14f937fef2a9f8b041f8
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>
(cherry picked from commit dd3b1630e848d34db432526dee86289439594510)
---
.../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.