You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by je...@apache.org on 2014/11/05 20:05:32 UTC

[2/2] git commit: PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Samarth Jain)

PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Samarth Jain)


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

Branch: refs/heads/master
Commit: 8401cfdb96f21d6babf867411d52e81e687e63c7
Parents: f26eab3
Author: Jeffrey Zhong <je...@apache.org>
Authored: Wed Nov 5 11:05:00 2014 -0800
Committer: Jeffrey Zhong <je...@apache.org>
Committed: Wed Nov 5 11:05:18 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8401cfdb/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 821f7fc..780e34a 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -885,6 +885,8 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
                 }
             }
             lowestClusterHBaseVersion = minHBaseVersion;
+        } catch (SQLException e) {
+            throw e;
         } catch (Throwable t) {
             // This is the case if the "phoenix.jar" is not on the classpath of HBase on the region server
             throw new SQLExceptionInfo.Builder(SQLExceptionCode.INCOMPATIBLE_CLIENT_SERVER_JAR).setRootCause(t)