Example usage for org.apache.hadoop.mapred Task normalizeStatus

List of usage examples for org.apache.hadoop.mapred Task normalizeStatus

Introduction

In this page you can find the example usage for org.apache.hadoop.mapred Task normalizeStatus.

Prototype

public static String normalizeStatus(String status, Configuration conf) 

Source Link

Usage

From source file:com.sourcecode.TaskAttemptContextImpl.java

License:Apache License

/**
 * Set the current status of the task to the given string.
 *//*from   w  w w  .  jav  a  2  s .c  o m*/
@Override
public void setStatus(String status) {
    String normalizedStatus = Task.normalizeStatus(status, conf);
    setStatusString(normalizedStatus);
    reporter.setStatus(normalizedStatus);
}