hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1576711 - in /hive/trunk: metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java pom.xml
Date Wed, 12 Mar 2014 12:30:09 GMT
Author: thejas
Date: Wed Mar 12 12:30:09 2014
New Revision: 1576711

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

Modified:
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
    hive/trunk/pom.xml

Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java?rev=1576711&r1=1576710&r2=1576711&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
(original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
Wed Mar 12 12:30:09 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/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hive/trunk/pom.xml?rev=1576711&r1=1576710&r2=1576711&view=diff
==============================================================================
--- hive/trunk/pom.xml (original)
+++ hive/trunk/pom.xml Wed Mar 12 12:30:09 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>



Mime
View raw message