[1/2] git commit: PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Samarth Jain)
Repository: phoenix Updated Branches: refs/heads/4.2 1059b779a -> 2b181d325 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/2c3b3505 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/2c3b3505 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/2c3b3505 Branch: refs/heads/4.2 Commit: 2c3b3505dfdd0fc036dde5e129164704956701f3 Parents: 1059b77 Author: Jeffrey Zhong Authored: Wed Nov 5 11:05:00 2014 -0800 Committer: Jeffrey Zhong Committed: Wed Nov 5 14:42:28 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/2c3b3505/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 eab263b..4aa1bac 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)
git commit: PHOENIX-1346: Base exception gets wrapped as incompatible jar exception (Samarth Jain)
Repository: phoenix Updated Branches: refs/heads/3.2 73b570e13 -> 2a674dd01 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/2a674dd0 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/2a674dd0 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/2a674dd0 Branch: refs/heads/3.2 Commit: 2a674dd01d1eb11c62cb40a350e196aa083b9a6c Parents: 73b570e Author: Jeffrey Zhong Authored: Wed Nov 5 11:05:00 2014 -0800 Committer: Jeffrey Zhong Committed: Wed Nov 5 14:40:01 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/2a674dd0/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 c53c19b..31d46e0 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 @@ -851,6 +851,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)
[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/9ffd8c63 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9ffd8c63 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9ffd8c63 Branch: refs/heads/3.0 Commit: 9ffd8c63a8d1875ba672eae57be8b7cd29176450 Parents: ff0a074 Author: Jeffrey Zhong Authored: Wed Nov 5 11:05:00 2014 -0800 Committer: Jeffrey Zhong Committed: Wed Nov 5 11:10:45 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/9ffd8c63/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 c53c19b..31d46e0 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 @@ -851,6 +851,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)
[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/96b1b912 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/96b1b912 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/96b1b912 Branch: refs/heads/4.0 Commit: 96b1b912830423743feefc0b48e6a0e71c992d39 Parents: d8ca15c Author: Jeffrey Zhong Authored: Wed Nov 5 11:05:00 2014 -0800 Committer: Jeffrey Zhong Committed: Wed Nov 5 11:08:25 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/96b1b912/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 eab263b..4aa1bac 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)
[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 Authored: Wed Nov 5 11:05:00 2014 -0800 Committer: Jeffrey Zhong 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)