Example usage for org.apache.hadoop.mapreduce OutputCommitter isRecoverySupported

List of usage examples for org.apache.hadoop.mapreduce OutputCommitter isRecoverySupported

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce OutputCommitter isRecoverySupported.

Prototype

@Deprecated
public boolean isRecoverySupported() 

Source Link

Document

Is task output recovery supported for restarting jobs?

Usage

From source file:co.cask.cdap.internal.app.runtime.batch.dataset.output.MultipleOutputsCommitter.java

License:Apache License

@Override
public boolean isRecoverySupported() {
    // recovery is supported if it is supported on all delegates
    for (OutputCommitter committer : committers.values()) {
        if (!committer.isRecoverySupported()) {
            return false;
        }/*  ww  w  .jav  a2s.  c om*/
    }
    return true;
}