You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2012/03/15 12:24:03 UTC
svn commit: r1300921 -
/incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java
Author: vines
Date: Thu Mar 15 11:24:03 2012
New Revision: 1300921
URL: http://svn.apache.org/viewvc?rev=1300921&view=rev
Log:
Ooops, fixes ACCUMULO-146
Modified:
incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java
Modified: incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java?rev=1300921&r1=1300920&r2=1300921&view=diff
==============================================================================
--- incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java (original)
+++ incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java Thu Mar 15 11:24:03 2012
@@ -78,7 +78,8 @@ public class AccumuloFileOutputFormat ex
@Override
public void close(TaskAttemptContext context) throws IOException, InterruptedException {
- out.close();
+ if (out != null)
+ out.close();
}
};
}