You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2017/04/21 07:38:05 UTC

hive git commit: HIVE-16383: Switch to HikariCP as default connection pooling (addendum to include linebreaks)

Repository: hive
Updated Branches:
  refs/heads/master 739c6ce53 -> 54d3bf2c6


HIVE-16383: Switch to HikariCP as default connection pooling (addendum to include linebreaks)


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

Branch: refs/heads/master
Commit: 54d3bf2c6885c685780f0f658ca14f1f2774fdf2
Parents: 739c6ce
Author: Prasanth Jayachandran <pr...@apache.org>
Authored: Fri Apr 21 00:36:26 2017 -0700
Committer: Prasanth Jayachandran <pr...@apache.org>
Committed: Fri Apr 21 00:36:26 2017 -0700

----------------------------------------------------------------------
 common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/54d3bf2c/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
----------------------------------------------------------------------
diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
index 771f588..8e5a9aa 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -745,11 +745,11 @@ public class HiveConf extends Configuration {
       "HikariCP", "NONE"),
         "Specify connection pool library for datanucleus"),
     METASTORE_CONNECTION_POOLING_MAX_CONNECTIONS("datanucleus.connectionPool.maxPoolSize", 10,
-      "Specify the maximum number of connections in the connection pool. Note: The configured size will be used by" +
-        " 2 connection pools (TxnHandler and ObjectStore). When configuring the max connection pool size, it is " +
-        "recommended to take into account the number of metastore instances and the number of HiveServer2 instances " +
-        "configured with embedded metastore. To get optimal performance, set config to meet the following condition"+
-        "(2 * pool_size * metastore_instances + 2 * pool_size * HS2_instances_with_embedded_metastore) = " +
+      "Specify the maximum number of connections in the connection pool. Note: The configured size will be used by\n" +
+        "2 connection pools (TxnHandler and ObjectStore). When configuring the max connection pool size, it is\n" +
+        "recommended to take into account the number of metastore instances and the number of HiveServer2 instances\n" +
+        "configured with embedded metastore. To get optimal performance, set config to meet the following condition\n"+
+        "(2 * pool_size * metastore_instances + 2 * pool_size * HS2_instances_with_embedded_metastore) = \n" +
         "(2 * physical_core_count + hard_disk_count)."),
     // Workaround for DN bug on Postgres:
     // http://www.datanucleus.org/servlet/forum/viewthread_thread,7985_offset