Example usage for org.apache.hadoop.mapred TaskAttemptID getId

List of usage examples for org.apache.hadoop.mapred TaskAttemptID getId

Introduction

In this page you can find the example usage for org.apache.hadoop.mapred TaskAttemptID getId.

Prototype

public int getId() 

Source Link

Document

returns the int which represents the identifier

Usage

From source file:org.apache.tez.mapreduce.hadoop.IDConverter.java

License:Apache License

public static TezTaskAttemptID fromMRTaskAttemptId(org.apache.hadoop.mapreduce.TaskAttemptID taskAttemptId) {
    return TezTaskAttemptID.getInstance(fromMRTaskId(taskAttemptId.getTaskID()), taskAttemptId.getId());
}