accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1300921 - /incubator/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java
Date Thu, 15 Mar 2012 11:24:03 GMT
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();
       }
     };
   }



Mime
View raw message