hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject hive git commit: HIVE-14322 : Postgres db issues after Datanucleus 4.x upgrade (Sergey Shelukhin, reviewed by Thejas M Nair)
Date Mon, 01 Aug 2016 18:43:39 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-2.0 301ed30ea -> 98c559474


HIVE-14322 : Postgres db issues after Datanucleus 4.x upgrade (Sergey Shelukhin, reviewed
by Thejas M Nair)


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

Branch: refs/heads/branch-2.0
Commit: 98c559474407d5495aabc61a523b21a9ba911a3b
Parents: 301ed30
Author: Sergey Shelukhin <sershe@apache.org>
Authored: Mon Aug 1 11:37:04 2016 -0700
Committer: Sergey Shelukhin <sershe@apache.org>
Committed: Mon Aug 1 11:37:55 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/hive/blob/98c55947/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 af69b01..f3a0ad3 100644
--- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
+++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
@@ -139,6 +139,7 @@ public class HiveConf extends Configuration {
       HiveConf.ConfVars.METASTORE_CACHE_PINOBJTYPES,
       HiveConf.ConfVars.METASTORE_CONNECTION_POOLING_TYPE,
       HiveConf.ConfVars.METASTORE_VALIDATE_TABLES,
+      HiveConf.ConfVars.METASTORE_DATANUCLEUS_INIT_COL_INFO,
       HiveConf.ConfVars.METASTORE_VALIDATE_COLUMNS,
       HiveConf.ConfVars.METASTORE_VALIDATE_CONSTRAINTS,
       HiveConf.ConfVars.METASTORE_STORE_MANAGER_TYPE,
@@ -529,6 +530,10 @@ public class HiveConf extends Configuration {
         "List of comma separated metastore object types that should be pinned in the cache"),
     METASTORE_CONNECTION_POOLING_TYPE("datanucleus.connectionPoolingType", "BONECP",
         "Specify connection pool library for datanucleus"),
+    // Workaround for DN bug on Postgres:
+    // http://www.datanucleus.org/servlet/forum/viewthread_thread,7985_offset
+    METASTORE_DATANUCLEUS_INIT_COL_INFO("datanucleus.rdbms.initializeColumnInfo", "NONE",
+        "initializeColumnInfo setting for DataNucleus; set to NONE at least on Postgres."),
     METASTORE_VALIDATE_TABLES("datanucleus.schema.validateTables", false,
         "validates existing schema against code. turn this on if you want to verify existing
schema"),
     METASTORE_VALIDATE_COLUMNS("datanucleus.schema.validateColumns", false,


Mime
View raw message