public class TezTimelineClient extends DAGClientTimelineImpl implements TimelineClient
| Constructor and Description |
|---|
TezTimelineClient(ApplicationId appId,
java.lang.String dagId,
TezConfiguration conf,
FrameworkClient frameworkClient,
DAGClient dagClient) |
| Modifier and Type | Method and Description |
|---|---|
DAGClient |
getDAGClient() |
DAGStatus |
getDAGStatus(java.util.Set<StatusGetOpts> statusOptions) |
FrameworkClient |
getFrameworkClient() |
protected JSONObject |
getJsonObject(JSONArray entitiesNode,
int index) |
protected JSONObject |
getRemoveJsonObject(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) |
VertexStatus |
getVertexStatus(java.lang.String vertexName,
java.util.Set<StatusGetOpts> statusOptions) |
public TezTimelineClient(ApplicationId appId, java.lang.String dagId, TezConfiguration conf, FrameworkClient frameworkClient, DAGClient dagClient) throws TezException
TezExceptionpublic DAGClient getDAGClient()
public FrameworkClient getFrameworkClient()
public DAGStatus getDAGStatus(java.util.Set<StatusGetOpts> statusOptions) throws java.io.IOException, TezException
java.io.IOExceptionTezExceptionpublic VertexStatus getVertexStatus(java.lang.String vertexName, java.util.Set<StatusGetOpts> statusOptions) throws java.io.IOException, TezException
java.io.IOExceptionTezExceptionpublic java.lang.String getVertexID(java.lang.String vertexName) throws java.io.IOException, TezException
getVertexID in interface TimelineClientjava.io.IOExceptionTezExceptionpublic java.util.Iterator<TaskStatus> getVertexChildren(java.lang.String vertexID, int limit, java.lang.String startTaskID) throws java.io.IOException, TezException
getVertexChildren in interface TimelineClientjava.io.IOExceptionTezExceptionpublic TaskStatus getVertexChild(java.lang.String taskID) throws TezException
getVertexChild in interface TimelineClientTezExceptionprotected JSONObject getRemoveJsonObject(JSONArray entitiesNode, int index, boolean doRemove)
protected JSONObject getJsonObject(JSONArray entitiesNode, int index)
Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.