You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2014/03/12 13:31:55 UTC

svn commit: r1576712 - in /hive/branches/branch-0.13: metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java pom.xml

Author: thejas
Date: Wed Mar 12 12:31:55 2014
New Revision: 1576712

URL: http://svn.apache.org/r1576712
Log:
HIVE-5099 : Some partition publish operation cause OOM in metastore backed by SQL Server (Daniel Dai via Thejas Nair)

Modified:
    hive/branches/branch-0.13/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
    hive/branches/branch-0.13/pom.xml

Modified: hive/branches/branch-0.13/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java?rev=1576712&r1=1576711&r2=1576712&view=diff
==============================================================================
--- hive/branches/branch-0.13/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java (original)
+++ hive/branches/branch-0.13/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java Wed Mar 12 12:31:55 2014
@@ -378,7 +378,7 @@ public class ExpressionTree {
       }
       valString += keyEqual.length();
       if (partitionColumnIndex != (partitionColumnCount - 1)) {
-        valString += ", partitionName.indexOf(\"/\", " + indexOfKeyStr + keyEqual.length() + ")";
+        valString += ", partitionName.concat(\"/\").indexOf(\"/\", " + indexOfKeyStr + keyEqual.length() + ")";
       }
       valString += ")";
 

Modified: hive/branches/branch-0.13/pom.xml
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.13/pom.xml?rev=1576712&r1=1576711&r2=1576712&view=diff
==============================================================================
--- hive/branches/branch-0.13/pom.xml (original)
+++ hive/branches/branch-0.13/pom.xml Wed Mar 12 12:31:55 2014
@@ -85,9 +85,9 @@
     <antlr.version>3.4</antlr.version>
     <avro.version>1.7.5</avro.version>
     <bonecp.version>0.8.0.RELEASE</bonecp.version>
-    <datanucleus-api-jdo.version>3.2.1</datanucleus-api-jdo.version>
-    <datanucleus-core.version>3.2.2</datanucleus-core.version>
-    <datanucleus-rdbms.version>3.2.1</datanucleus-rdbms.version>
+    <datanucleus-api-jdo.version>3.2.6</datanucleus-api-jdo.version>
+    <datanucleus-core.version>3.2.10</datanucleus-core.version>
+    <datanucleus-rdbms.version>3.2.9</datanucleus-rdbms.version>
     <commons-cli.version>1.2</commons-cli.version>
     <commons-codec.version>1.4</commons-codec.version>
     <commons-compress.version>1.4.1</commons-compress.version>