|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.client.TezSession
public class TezSession
| Constructor Summary | |
|---|---|
TezSession(String sessionName,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
TezSessionConfiguration sessionConfig)
|
|
TezSession(String sessionName,
TezSessionConfiguration sessionConfig)
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
|
String |
getSessionName()
|
TezSessionStatus |
getSessionStatus()
|
void |
preWarm(PreWarmContext context)
Inform the Session to pre-warm containers for upcoming DAGs. |
void |
start()
Start a Tez Session |
void |
stop()
Shutdown a Tez Session. |
DAGClient |
submitDAG(DAG dag)
Submit a DAG to a Tez Session. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TezSession(String sessionName,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
TezSessionConfiguration sessionConfig)
public TezSession(String sessionName,
TezSessionConfiguration sessionConfig)
| Method Detail |
|---|
public void start()
throws TezException,
IOException
TezException
IOException
public DAGClient submitDAG(DAG dag)
throws TezException,
IOException,
InterruptedException
dag - DAG to be submitted to Session
TezException
IOException
SessionNotRunning - if session is not alive
DAGSubmissionTimedOut - if submission timed out
InterruptedException
public void stop()
throws TezException,
IOException
TezException
IOExceptionpublic String getSessionName()
@InterfaceAudience.Private public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public TezSessionStatus getSessionStatus()
throws TezException,
IOException
TezException
IOException
@InterfaceAudience.Private
@InterfaceStability.Unstable
public void preWarm(PreWarmContext context)
throws IOException,
TezException,
InterruptedException
context - Context for the pre-warm containers.
IOException
TezException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||