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 19:08:39 UTC

git commit: PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Mujtaba Chohan)

Repository: phoenix
Updated Branches:
  refs/heads/master 237c55614 -> c0e0b2b5b


PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Mujtaba Chohan)


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

Branch: refs/heads/master
Commit: c0e0b2b5bc4c0bf2ce898bdfd4e2110e0fecc6ab
Parents: 237c556
Author: Jeffrey Zhong <je...@apache.org>
Authored: Wed Nov 5 10:08:49 2014 -0800
Committer: Jeffrey Zhong <je...@apache.org>
Committed: Wed Nov 5 10:08:55 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/c0e0b2b5/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)