org.apache.hadoop.hive.ql.exec
Class Heartbeater

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Heartbeater

public class Heartbeater
extends Object

Class to handle heartbeats for MR and Tez tasks.


Constructor Summary
Heartbeater(HiveTxnManager txnMgr, org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 void heartbeat()
          Send a heartbeat to the metastore for locks and transactions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Heartbeater

public Heartbeater(HiveTxnManager txnMgr,
                   org.apache.hadoop.conf.Configuration conf)
Parameters:
txnMgr - transaction manager for this operation
conf - Configuration for this operation
Method Detail

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.