hadoop-hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zs...@apache.org
Subject svn commit: r811554 - in /hadoop/hive/branches/branch-0.3: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
Date Fri, 04 Sep 2009 21:19:52 GMT
Author: zshao
Date: Fri Sep  4 21:19:51 2009
New Revision: 811554

URL: http://svn.apache.org/viewvc?rev=811554&view=rev
Log:
HIVE-816. Cache MetastoreClient. (Dave Lerman via zshao)

Modified:
    hadoop/hive/branches/branch-0.3/CHANGES.txt
    hadoop/hive/branches/branch-0.3/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java

Modified: hadoop/hive/branches/branch-0.3/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.3/CHANGES.txt?rev=811554&r1=811553&r2=811554&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.3/CHANGES.txt (original)
+++ hadoop/hive/branches/branch-0.3/CHANGES.txt Fri Sep  4 21:19:51 2009
@@ -31,6 +31,8 @@
     HIVE-453. Use FileSystem derived from user supplied path when present
     instead of default. (Joydeep Sen Sarma via prasadc)
 
+    HIVE-816. Cache MetastoreClient. (Dave Lerman via zshao)
+
 Release 0.3.0 - 2009-04-20
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/branches/branch-0.3/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.3/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java?rev=811554&r1=811553&r2=811554&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.3/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
(original)
+++ hadoop/hive/branches/branch-0.3/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
Fri Sep  4 21:19:51 2009
@@ -809,6 +809,7 @@
     IMetaStoreClient msc = threadLocalMSC.get();
     if(msc == null) {
       msc = this.createMetaStoreClient();
+      threadLocalMSC.set(msc);
     }
     return msc;
   }



Mime
View raw message