[64/84] [abbrv] hive git commit: HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair)
HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/5b423a87 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/5b423a87 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/5b423a87 Branch: refs/heads/spark Commit: 5b423a87f5b1cd65613b5f61a38186afbe6eda22 Parents: b615de2 Author: Hari Subramaniyan Authored: Wed May 27 00:09:28 2015 -0700 Committer: Hari Subramaniyan Committed: Wed May 27 00:09:28 2015 -0700 -- jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java | 5 + 1 file changed, 5 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hive/blob/5b423a87/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java -- diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java index 1b2891b..306a1cd 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java @@ -225,6 +225,8 @@ public class HiveConnection implements java.sql.Connection { port = connParams.getPort(); LOG.info("Will retry opening client transport"); } else { + LOG.info("Transport Used for JDBC connection: " + +sessConfMap.get(JdbcConnectionParams.TRANSPORT_MODE)); throw new SQLException("Could not open client transport with JDBC Uri: " + jdbcUriString + ": " + e.getMessage(), " 08S01", e); } @@ -265,6 +267,9 @@ public class HiveConnection implements java.sql.Connection { } } catch (TException e) { + LOG.info("JDBC Connection Parameters used : useSSL = " + useSsl + " , httpPath = " + +sessConfMap.get(JdbcConnectionParams.HTTP_PATH) + " Authentication type = " + +sessConfMap.get(JdbcConnectionParams.AUTH_TYPE)); String msg = "Could not create http connection to " + jdbcUriString + ". " + e.getMessage(); throw new TTransportException(msg, e);
[64/82] [abbrv] hive git commit: HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair)
HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/5b423a87 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/5b423a87 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/5b423a87 Branch: refs/heads/llap Commit: 5b423a87f5b1cd65613b5f61a38186afbe6eda22 Parents: b615de2 Author: Hari Subramaniyan Authored: Wed May 27 00:09:28 2015 -0700 Committer: Hari Subramaniyan Committed: Wed May 27 00:09:28 2015 -0700 -- jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java | 5 + 1 file changed, 5 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hive/blob/5b423a87/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java -- diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java index 1b2891b..306a1cd 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java @@ -225,6 +225,8 @@ public class HiveConnection implements java.sql.Connection { port = connParams.getPort(); LOG.info("Will retry opening client transport"); } else { + LOG.info("Transport Used for JDBC connection: " + +sessConfMap.get(JdbcConnectionParams.TRANSPORT_MODE)); throw new SQLException("Could not open client transport with JDBC Uri: " + jdbcUriString + ": " + e.getMessage(), " 08S01", e); } @@ -265,6 +267,9 @@ public class HiveConnection implements java.sql.Connection { } } catch (TException e) { + LOG.info("JDBC Connection Parameters used : useSSL = " + useSsl + " , httpPath = " + +sessConfMap.get(JdbcConnectionParams.HTTP_PATH) + " Authentication type = " + +sessConfMap.get(JdbcConnectionParams.AUTH_TYPE)); String msg = "Could not create http connection to " + jdbcUriString + ". " + e.getMessage(); throw new TTransportException(msg, e);
hive git commit: HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair)
Repository: hive Updated Branches: refs/heads/branch-1.2 f4c83aef6 -> d7f566696 HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/d7f56669 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d7f56669 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d7f56669 Branch: refs/heads/branch-1.2 Commit: d7f5666967c28db404f4312d635c380dc7a2a614 Parents: f4c83ae Author: Hari Subramaniyan Authored: Wed May 27 00:09:28 2015 -0700 Committer: Hari Subramaniyan Committed: Wed May 27 00:11:09 2015 -0700 -- jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java | 5 + 1 file changed, 5 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hive/blob/d7f56669/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java -- diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java index 2b4be7f..8fb1d12 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java @@ -226,6 +226,8 @@ public class HiveConnection implements java.sql.Connection { port = connParams.getPort(); LOG.info("Will retry opening client transport"); } else { + LOG.info("Transport Used for JDBC connection: " + +sessConfMap.get(JdbcConnectionParams.TRANSPORT_MODE)); throw new SQLException("Could not open client transport with JDBC Uri: " + jdbcUriString + ": " + e.getMessage(), " 08S01", e); } @@ -266,6 +268,9 @@ public class HiveConnection implements java.sql.Connection { } } catch (TException e) { + LOG.info("JDBC Connection Parameters used : useSSL = " + useSsl + " , httpPath = " + +sessConfMap.get(JdbcConnectionParams.HTTP_PATH) + " Authentication type = " + +sessConfMap.get(JdbcConnectionParams.AUTH_TYPE)); String msg = "Could not create http connection to " + jdbcUriString + ". " + e.getMessage(); throw new TTransportException(msg, e);
hive git commit: HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair)
Repository: hive Updated Branches: refs/heads/master b615de25b -> 5b423a87f HIVE-10753 : hs2 jdbc url - wrong connection string cause error on beeline/jdbc/odbc client, misleading message (Hari Subramaniyan, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/5b423a87 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/5b423a87 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/5b423a87 Branch: refs/heads/master Commit: 5b423a87f5b1cd65613b5f61a38186afbe6eda22 Parents: b615de2 Author: Hari Subramaniyan Authored: Wed May 27 00:09:28 2015 -0700 Committer: Hari Subramaniyan Committed: Wed May 27 00:09:28 2015 -0700 -- jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java | 5 + 1 file changed, 5 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hive/blob/5b423a87/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java -- diff --git a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java index 1b2891b..306a1cd 100644 --- a/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java +++ b/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java @@ -225,6 +225,8 @@ public class HiveConnection implements java.sql.Connection { port = connParams.getPort(); LOG.info("Will retry opening client transport"); } else { + LOG.info("Transport Used for JDBC connection: " + +sessConfMap.get(JdbcConnectionParams.TRANSPORT_MODE)); throw new SQLException("Could not open client transport with JDBC Uri: " + jdbcUriString + ": " + e.getMessage(), " 08S01", e); } @@ -265,6 +267,9 @@ public class HiveConnection implements java.sql.Connection { } } catch (TException e) { + LOG.info("JDBC Connection Parameters used : useSSL = " + useSsl + " , httpPath = " + +sessConfMap.get(JdbcConnectionParams.HTTP_PATH) + " Authentication type = " + +sessConfMap.get(JdbcConnectionParams.AUTH_TYPE)); String msg = "Could not create http connection to " + jdbcUriString + ". " + e.getMessage(); throw new TTransportException(msg, e);