You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jd...@apache.org on 2015/09/30 21:13:30 UTC

hive git commit: HIVE-11910: TestHCatLoaderEncryption should shutdown created MiniDFS instance (Jason Dere, reviewed by Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master 064e37c46 -> b36cb3796


HIVE-11910: TestHCatLoaderEncryption should shutdown created MiniDFS instance (Jason Dere, reviewed by Ashutosh Chauhan)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/b36cb379
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/b36cb379
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/b36cb379

Branch: refs/heads/master
Commit: b36cb37963eb7f69621543f89eaa21ef1458e031
Parents: 064e37c
Author: Jason Dere <jd...@hortonworks.com>
Authored: Wed Sep 30 12:12:47 2015 -0700
Committer: Jason Dere <jd...@hortonworks.com>
Committed: Wed Sep 30 12:12:47 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/b36cb379/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java
----------------------------------------------------------------------
diff --git a/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java b/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java
index 3b8076b..df3b72a 100644
--- a/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java
+++ b/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hive/hcatalog/pig/TestHCatLoaderEncryption.java
@@ -426,6 +426,9 @@ public class TestHCatLoaderEncryption {
       }
     } finally {
       FileUtils.deleteDirectory(new File(TEST_DATA_DIR));
+      if (dfs != null) {
+        dfs.shutdown();
+      }
     }
   }