public class TezTimelineClient extends org.apache.tez.dag.api.client.DAGClientTimelineImpl implements TimelineClient
Constructor and Description |
---|
TezTimelineClient(ApplicationId appId,
java.lang.String dagId,
org.apache.tez.dag.api.TezConfiguration conf,
org.apache.tez.client.FrameworkClient frameworkClient,
org.apache.tez.dag.api.client.DAGClient dagClient) |
Modifier and Type | Method and Description |
---|---|
org.apache.tez.dag.api.client.DAGClient |
getDAGClient() |
org.apache.tez.dag.api.client.DAGStatus |
getDAGStatus(java.util.Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) |
org.apache.tez.client.FrameworkClient |
getFrameworkClient() |
protected org.codehaus.jettison.json.JSONObject |
getJsonObject(org.codehaus.jettison.json.JSONArray entitiesNode,
int index) |
protected org.codehaus.jettison.json.JSONObject |
getRemoveJsonObject(org.codehaus.jettison.json.JSONArray entitiesNode,
int index,
boolean doRemove) |
TaskStatus |
getVertexChild(java.lang.String taskID) |
java.util.Iterator<TaskStatus> |
getVertexChildren(java.lang.String vertexID,
int limit,
java.lang.String startTaskID) |
java.lang.String |
getVertexID(java.lang.String vertexName) |
org.apache.tez.dag.api.client.VertexStatus |
getVertexStatus(java.lang.String vertexName,
java.util.Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) |
public TezTimelineClient(ApplicationId appId, java.lang.String dagId, org.apache.tez.dag.api.TezConfiguration conf, org.apache.tez.client.FrameworkClient frameworkClient, org.apache.tez.dag.api.client.DAGClient dagClient) throws org.apache.tez.dag.api.TezException
org.apache.tez.dag.api.TezException
public org.apache.tez.dag.api.client.DAGClient getDAGClient()
public org.apache.tez.client.FrameworkClient getFrameworkClient()
public org.apache.tez.dag.api.client.DAGStatus getDAGStatus(@Nullable java.util.Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) throws java.io.IOException, org.apache.tez.dag.api.TezException
getDAGStatus
in class org.apache.tez.dag.api.client.DAGClientTimelineImpl
java.io.IOException
org.apache.tez.dag.api.TezException
public org.apache.tez.dag.api.client.VertexStatus getVertexStatus(java.lang.String vertexName, java.util.Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) throws java.io.IOException, org.apache.tez.dag.api.TezException
getVertexStatus
in class org.apache.tez.dag.api.client.DAGClientTimelineImpl
java.io.IOException
org.apache.tez.dag.api.TezException
public java.lang.String getVertexID(java.lang.String vertexName) throws java.io.IOException, org.apache.tez.dag.api.TezException
getVertexID
in interface TimelineClient
java.io.IOException
org.apache.tez.dag.api.TezException
public java.util.Iterator<TaskStatus> getVertexChildren(java.lang.String vertexID, int limit, java.lang.String startTaskID) throws java.io.IOException, org.apache.tez.dag.api.TezException
getVertexChildren
in interface TimelineClient
java.io.IOException
org.apache.tez.dag.api.TezException
public TaskStatus getVertexChild(java.lang.String taskID) throws org.apache.tez.dag.api.TezException
getVertexChild
in interface TimelineClient
org.apache.tez.dag.api.TezException
protected org.codehaus.jettison.json.JSONObject getRemoveJsonObject(org.codehaus.jettison.json.JSONArray entitiesNode, int index, boolean doRemove)
protected org.codehaus.jettison.json.JSONObject getJsonObject(org.codehaus.jettison.json.JSONArray entitiesNode, int index)
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.