public class TezTimelineClient extends DAGClient implements TimelineClient
When TEZ-3369 is implemented, TezTimelineClient can be replaced by a pure DAGClient usage. Until then, FlowStats is non-functional.
| Constructor and Description |
|---|
TezTimelineClient(ApplicationId appId,
java.lang.String dagId,
TezConfiguration conf,
FrameworkClient frameworkClient,
DAGClient dagClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected ApplicationReport |
getApplicationReportInternal() |
DAGClient |
getDAGClient() |
java.lang.String |
getDagIdentifierString() |
DAGStatus |
getDAGStatus(java.util.Set<StatusGetOpts> statusOptions) |
DAGStatus |
getDAGStatus(java.util.Set<StatusGetOpts> statusOptions,
long timeout) |
java.lang.String |
getExecutionContext() |
FrameworkClient |
getFrameworkClient() |
java.lang.String |
getSessionIdentifierString() |
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) |
java.lang.String |
getWebUIAddress() |
void |
tryKillDAG() |
DAGStatus |
waitForCompletion() |
DAGStatus |
waitForCompletionWithStatusUpdates(java.util.Set<StatusGetOpts> statusOpts) |
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 DAGStatus getDAGStatus(java.util.Set<StatusGetOpts> statusOptions, long timeout) 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 void tryKillDAG() throws java.io.IOException, TezException
java.io.IOExceptionTezExceptionpublic DAGStatus waitForCompletion() throws java.io.IOException, TezException, java.lang.InterruptedException
java.io.IOExceptionTezExceptionjava.lang.InterruptedExceptionpublic void close() throws java.io.IOException
java.io.IOExceptionpublic DAGStatus waitForCompletionWithStatusUpdates(java.util.Set<StatusGetOpts> statusOpts) throws java.io.IOException, TezException, java.lang.InterruptedException
java.io.IOExceptionTezExceptionjava.lang.InterruptedExceptionpublic java.lang.String getWebUIAddress() throws java.io.IOException, TezException
java.io.IOExceptionTezExceptionpublic java.lang.String getSessionIdentifierString()
public java.lang.String getDagIdentifierString()
public java.lang.String getExecutionContext()
public 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 ApplicationReport getApplicationReportInternal()
Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.