Example usage for org.apache.hadoop.mapreduce.v2.api.protocolrecords GetDiagnosticsResponse addDiagnostics

List of usage examples for org.apache.hadoop.mapreduce.v2.api.protocolrecords GetDiagnosticsResponse addDiagnostics

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce.v2.api.protocolrecords GetDiagnosticsResponse addDiagnostics.

Prototype

public abstract void addDiagnostics(String diagnostic);

Source Link

Usage

From source file:org.apache.tez.mapreduce.client.NotRunningJob.java

License:Apache License

@Override
public GetDiagnosticsResponse getDiagnostics(GetDiagnosticsRequest request) throws IOException {
    GetDiagnosticsResponse resp = recordFactory.newRecordInstance(GetDiagnosticsResponse.class);
    resp.addDiagnostics("");
    return resp;/*  w  w w .j  ava 2s  . co m*/
}