org.apache.hadoop.hive.ql.exec
Class Heartbeater
java.lang.Object
org.apache.hadoop.hive.ql.exec.Heartbeater
public class Heartbeater
- extends Object
Class to handle heartbeats for MR and Tez tasks.
|
Method Summary |
void |
heartbeat()
Send a heartbeat to the metastore for locks and transactions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Heartbeater
public Heartbeater(HiveTxnManager txnMgr,
org.apache.hadoop.conf.Configuration conf)
- Parameters:
txnMgr - transaction manager for this operationconf - Configuration for this operation
heartbeat
public void heartbeat()
throws IOException
- Send a heartbeat to the metastore for locks and transactions.
- Throws:
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.