org.apache.hadoop.hive.ql.exec.tez
Class TezJobMonitor
java.lang.Object
org.apache.hadoop.hive.ql.exec.tez.TezJobMonitor
public class TezJobMonitor
- extends Object
TezJobMonitor keeps track of a tez job while it's being executed. It will
print status to the console and retrieve final status of the job after
completion.
Method Summary |
int |
monitorExecution(org.apache.tez.dag.api.client.DAGClient dagClient,
HiveTxnManager txnMgr,
HiveConf conf)
monitorExecution handles status printing, failures during execution and final
status retrieval. |
TezJobMonitor
public TezJobMonitor()
monitorExecution
public int monitorExecution(org.apache.tez.dag.api.client.DAGClient dagClient,
HiveTxnManager txnMgr,
HiveConf conf)
throws InterruptedException
- monitorExecution handles status printing, failures during execution and final
status retrieval.
- Parameters:
dagClient
- client that was used to kick off the jobtxnMgr
- transaction manager for this operationconf
- configuration file for this operation
- Returns:
- int 0 - success, 1 - killed, 2 - failed
- Throws:
InterruptedException
Copyright © 2014 The Apache Software Foundation. All rights reserved.