You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by pr...@apache.org on 2010/01/28 02:23:16 UTC
svn commit: r903926 -
/hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java
Author: pradeepkth
Date: Thu Jan 28 01:23:16 2010
New Revision: 903926
URL: http://svn.apache.org/viewvc?rev=903926&view=rev
Log:
changes to fix issues introduced by previous commit
Modified:
hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java
Modified: hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java
URL: http://svn.apache.org/viewvc/hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java?rev=903926&r1=903925&r2=903926&view=diff
==============================================================================
--- hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java (original)
+++ hadoop/pig/branches/load-store-redesign/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/PigOutputCommitter.java Thu Jan 28 01:23:16 2010
@@ -32,6 +32,7 @@
import org.apache.pig.StoreFunc;
import org.apache.pig.StoreMetadata;
import org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore;
+import org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil;
import org.apache.pig.impl.PigContext;
import org.apache.pig.impl.logicalLayer.schema.Schema;
import org.apache.pig.impl.util.ObjectSerializer;
@@ -121,7 +122,7 @@
private TaskAttemptContext setUpContext(TaskAttemptContext context,
POStore store) throws IOException {
// Setup UDFContext so StoreFunc can make use of it
- MapRedUtil.setupUDFContext(taskattemptcontext.getConfiguration());
+ MapRedUtil.setupUDFContext(context.getConfiguration());
// make a copy of the context so that the actions after this call
// do not end up updating the same context
TaskAttemptContext contextCopy = new TaskAttemptContext(