com.cloudera.api.model
Class ApiMr2AppInformation

java.lang.Object
  extended by com.cloudera.api.model.ApiMr2AppInformation

public class ApiMr2AppInformation
extends Object

Represents MapReduce2 information for a YARN application.


Constructor Summary
ApiMr2AppInformation()
           
ApiMr2AppInformation(String jobState)
           
 
Method Summary
 String getJobState()
          The state of the job.
 void setJobState(String jobState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiMr2AppInformation

public ApiMr2AppInformation()

ApiMr2AppInformation

public ApiMr2AppInformation(String jobState)
Method Detail

getJobState

public String getJobState()
The state of the job. This is only set on completed jobs. This can take on the following values: "NEW", "INITED", "RUNNING", "SUCCEEDED", "FAILED", "KILLED", "ERROR".


setJobState

public void setJobState(String jobState)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.