You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2015/09/14 06:58:10 UTC

hive git commit: HIVE-11810: LLAP: Exception is ignored if MiniLlap cluster fails to start

Repository: hive
Updated Branches:
  refs/heads/llap f820d6591 -> cb9fab749


HIVE-11810: LLAP: Exception is ignored if MiniLlap cluster fails to start


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

Branch: refs/heads/llap
Commit: cb9fab7494a17f2df2a748c449173e23bfed00c8
Parents: f820d65
Author: Prasanth Jayachandran <j....@gmail.com>
Authored: Sun Sep 13 23:57:40 2015 -0500
Committer: Prasanth Jayachandran <j....@gmail.com>
Committed: Sun Sep 13 23:57:40 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/cb9fab74/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
----------------------------------------------------------------------
diff --git a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
index 876754d..fd6b17d 100644
--- a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+++ b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
@@ -404,7 +404,8 @@ public class Hadoop23Shims extends HadoopShimsSecure {
       }
     }
 
-    private void createAndLaunchLlapDaemon(final Configuration conf) {
+    private void createAndLaunchLlapDaemon(final Configuration conf)
+        throws IOException {
       try {
         final String clusterName = "llap";
         Class<?> llapDaemonKlass =
@@ -442,6 +443,7 @@ public class Hadoop23Shims extends HadoopShimsSecure {
             numLocalDirs);
       } catch (Exception e) {
         LOG.error("Unable to create MiniLlapCluster. Exception: " + e.getMessage());
+        throw new IOException(e);
       }
     }