You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by su...@apache.org on 2016/07/09 20:18:21 UTC
hive git commit: HIVE-14094: Remove unused function closeFs from
Warehouse.java
Repository: hive
Updated Branches:
refs/heads/master 667952dd9 -> fad946bb2
HIVE-14094: Remove unused function closeFs from Warehouse.java
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/fad946bb
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/fad946bb
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/fad946bb
Branch: refs/heads/master
Commit: fad946bb2c11a9159b78426865975c0782e5f663
Parents: 667952d
Author: Zhihai Xu <zh...@gmail.com>
Authored: Sat Jul 9 13:17:49 2016 -0700
Committer: Chao Sun <su...@apache.org>
Committed: Sat Jul 9 13:17:49 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/hadoop/hive/metastore/Warehouse.java | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/fad946bb/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java b/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
index d616946..d624d1b 100755
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java
@@ -112,16 +112,6 @@ public class Warehouse {
return getFs(f, conf);
}
- public static void closeFs(FileSystem fs) throws MetaException {
- try {
- if (fs != null) {
- fs.close();
- }
- } catch (IOException e) {
- MetaStoreUtils.logAndThrowMetaException(e);
- }
- }
-
/**
* Hadoop File System reverse lookups paths with raw ip addresses The File