You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2016/08/23 00:05:42 UTC

[1/2] hive git commit: HIVE-14600 : LLAP zookeeper registry failures do not fail the daemon (Sergey Shelukhin, reviewed by Prasanth Jayachandran)

Repository: hive
Updated Branches:
  refs/heads/branch-2.1 69ab3b273 -> f76a63ca6
  refs/heads/master b2338ff4e -> 127898f52


HIVE-14600 : LLAP zookeeper registry failures do not fail the daemon (Sergey Shelukhin, reviewed by Prasanth Jayachandran)


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

Branch: refs/heads/master
Commit: 127898f52cf5ccd21e5a84eb1ce53ea5ff45afd7
Parents: b2338ff
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 22 17:03:53 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 22 17:03:53 2016 -0700

----------------------------------------------------------------------
 .../hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/127898f5/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
----------------------------------------------------------------------
diff --git a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
index ae8dcc4..64d2617 100644
--- a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
+++ b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
@@ -325,6 +325,7 @@ public class LlapZookeeperRegistryImpl implements ServiceRegistry {
     } catch (Exception e) {
       LOG.error("Unable to create a znode for this server instance", e);
       CloseableUtils.closeQuietly(znode);
+      throw (e instanceof IOException) ? (IOException)e : new IOException(e);
     }
 
     if (LOG.isDebugEnabled()) {


[2/2] hive git commit: HIVE-14600 : LLAP zookeeper registry failures do not fail the daemon (Sergey Shelukhin, reviewed by Prasanth Jayachandran)

Posted by se...@apache.org.
HIVE-14600 : LLAP zookeeper registry failures do not fail the daemon (Sergey Shelukhin, reviewed by Prasanth Jayachandran)


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

Branch: refs/heads/branch-2.1
Commit: f76a63ca6af4ea9e4ff06faaf27d9f4dec47b502
Parents: 69ab3b2
Author: Sergey Shelukhin <se...@apache.org>
Authored: Mon Aug 22 17:03:53 2016 -0700
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Mon Aug 22 17:04:07 2016 -0700

----------------------------------------------------------------------
 .../hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/f76a63ca/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
----------------------------------------------------------------------
diff --git a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
index a3c80a6..cff1b12 100644
--- a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
+++ b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
@@ -324,6 +324,7 @@ public class LlapZookeeperRegistryImpl implements ServiceRegistry {
     } catch (Exception e) {
       LOG.error("Unable to create a znode for this server instance", e);
       CloseableUtils.closeQuietly(znode);
+      throw (e instanceof IOException) ? (IOException)e : new IOException(e);
     }
 
     if (LOG.isDebugEnabled()) {