incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khorg...@apache.org
Subject svn commit: r1363525 - /incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
Date Thu, 19 Jul 2012 20:31:02 GMT
Author: khorgath
Date: Thu Jul 19 20:31:01 2012
New Revision: 1363525

URL: http://svn.apache.org/viewvc?rev=1363525&view=rev
Log:
HCATALOG-448 HCatStorer performance is 4x slower in HCat 0.4 than HCat 0.2 (rajesh.balamohan
via khorgath) -- additional patch to incorporate rohini's review comments

Modified:
    incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java

Modified: incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
URL: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java?rev=1363525&r1=1363524&r2=1363525&view=diff
==============================================================================
--- incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
(original)
+++ incubator/hcatalog/trunk/src/java/org/apache/hcatalog/mapreduce/FileRecordWriterContainer.java
Thu Jul 19 20:31:01 2012
@@ -124,7 +124,7 @@ class FileRecordWriterContainer extends 
     }
 
     /**
-     * @return the storageDriver
+     * @return the storagehandler
      */
     public HCatStorageHandler getStorageHandler() {
         return storageHandler;
@@ -156,7 +156,6 @@ class FileRecordWriterContainer extends 
             InterruptedException {
 
         org.apache.hadoop.mapred.RecordWriter localWriter;
-        org.apache.hadoop.mapred.TaskAttemptContext localContext;
         ObjectInspector localObjectInspector;
         SerDe localSerDe;
         OutputJobInfo localJobInfo = null;
@@ -231,7 +230,6 @@ class FileRecordWriterContainer extends 
             localJobInfo = dynamicOutputJobInfo.get(dynKey);
             localWriter = baseDynamicWriters.get(dynKey);
             localSerDe = baseDynamicSerDe.get(dynKey);
-            localContext = dynamicContexts.get(dynKey);
             localObjectInspector = dynamicObjectInspectors.get(dynKey);
         }
         else{



Mime
View raw message