You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/12/04 15:31:04 UTC

svn commit: r1547804 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java

Author: tedyu
Date: Wed Dec  4 14:31:03 2013
New Revision: 1547804

URL: http://svn.apache.org/r1547804
Log:
HBASE-9485 TableOutputCommitter should implement recovery if we don't want jobs to start from 0 on RM restart


Modified:
    hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java?rev=1547804&r1=1547803&r2=1547804&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java (original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java Wed Dec  4 14:31:03 2013
@@ -58,4 +58,12 @@ public class TableOutputCommitter extend
   public void setupTask(TaskAttemptContext arg0) throws IOException {
   }
 
+  public boolean isRecoverySupported() {
+    return true;
+  }
+
+  public void recoverTask(TaskAttemptContext taskContext)
+  throws IOException
+  {
+  }
 }