com.cloudera.api.model
Class ApiMr2AppInformation
java.lang.Object
com.cloudera.api.model.ApiMr2AppInformation
public class ApiMr2AppInformation
- extends Object
Represents MapReduce2 information for a YARN application.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiMr2AppInformation
public ApiMr2AppInformation()
ApiMr2AppInformation
public ApiMr2AppInformation(String jobState)
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.