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:28:53 UTC
svn commit: r1547803 -
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java
Author: tedyu
Date: Wed Dec 4 14:28:53 2013
New Revision: 1547803
URL: http://svn.apache.org/r1547803
Log:
HBASE-9485 TableOutputCommitter should implement recovery if we don't want jobs to start from 0 on RM restart
Modified:
hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java
Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java?rev=1547803&r1=1547802&r2=1547803&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableOutputCommitter.java Wed Dec 4 14:28:53 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
+ {
+ }
}