org.apache.hadoop.yarn.api.records
Class ApplicationAttemptReport

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ApplicationAttemptReport

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class ApplicationAttemptReport
extends Object

ApplicationAttemptReport is a report of an application attempt.

It includes details such as:


Constructor Summary
ApplicationAttemptReport()
           
 
Method Summary
abstract  ContainerId getAMContainerId()
          Get the ContainerId of AMContainer for this attempt
abstract  ApplicationAttemptId getApplicationAttemptId()
          Get the ApplicationAttemptId of this attempt of the application
abstract  String getDiagnostics()
          Get the diagnositic information of the application attempt in case of errors.
abstract  String getHost()
          Get the host on which this attempt of ApplicationMaster is running.
abstract  String getOriginalTrackingUrl()
          Get the original tracking url for the application attempt.
abstract  int getRpcPort()
          Get the RPC port of this attempt ApplicationMaster.
abstract  String getTrackingUrl()
          Get the tracking url for the application attempt.
abstract  YarnApplicationAttemptState getYarnApplicationAttemptState()
          Get the YarnApplicationAttemptState of the application attempt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationAttemptReport

public ApplicationAttemptReport()
Method Detail

getYarnApplicationAttemptState

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract YarnApplicationAttemptState getYarnApplicationAttemptState()
Get the YarnApplicationAttemptState of the application attempt.

Returns:
YarnApplicationAttemptState of the application attempt

getRpcPort

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract int getRpcPort()
Get the RPC port of this attempt ApplicationMaster.

Returns:
RPC port of this attempt ApplicationMaster

getHost

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getHost()
Get the host on which this attempt of ApplicationMaster is running.

Returns:
host on which this attempt of ApplicationMaster is running

getDiagnostics

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getDiagnostics()
Get the diagnositic information of the application attempt in case of errors.

Returns:
diagnositic information of the application attempt in case of errors

getTrackingUrl

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getTrackingUrl()
Get the tracking url for the application attempt.

Returns:
tracking url for the application attempt

getOriginalTrackingUrl

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract String getOriginalTrackingUrl()
Get the original tracking url for the application attempt.

Returns:
original tracking url for the application attempt

getApplicationAttemptId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract ApplicationAttemptId getApplicationAttemptId()
Get the ApplicationAttemptId of this attempt of the application

Returns:
ApplicationAttemptId of the attempt

getAMContainerId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract ContainerId getAMContainerId()
Get the ContainerId of AMContainer for this attempt

Returns:
ContainerId of the attempt


Copyright © 2014 Apache Software Foundation. All Rights Reserved.