Java Code Examples for org.apache.hadoop.hive.metastore.api.NoSuchLockException

The following examples show how to use org.apache.hadoop.hive.metastore.api.NoSuchLockException. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
@Override
public LockResponse checkLock(long lockId)
    throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException {
  return glueMetastoreClientDelegate.checkLock(lockId);
}
 
Example 2
@Override
public void heartbeat(long txnId, long lockId)
    throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException {
  glueMetastoreClientDelegate.heartbeat(txnId, lockId);
}
 
Example 3
@Override
public void unlock(long lockId) throws NoSuchLockException, TxnOpenException, TException {
  glueMetastoreClientDelegate.unlock(lockId);
}
 
Example 4
@Override
public LockResponse checkLock(long lockId)
    throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException {
  return glueMetastoreClientDelegate.checkLock(lockId);
}
 
Example 5
@Override
public void heartbeat(long txnId, long lockId)
    throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException {
  glueMetastoreClientDelegate.heartbeat(txnId, lockId);
}
 
Example 6
@Override
public void unlock(long lockId) throws NoSuchLockException, TxnOpenException, TException {
  glueMetastoreClientDelegate.unlock(lockId);
}
 
Example 7
Source Project: waggle-dance   Source File: FederatedHMSHandler.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
public LockResponse check_lock(CheckLockRequest rqst)
    throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException {
  return getPrimaryClient().check_lock(rqst);
}
 
Example 8
Source Project: waggle-dance   Source File: FederatedHMSHandler.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
public void unlock(UnlockRequest rqst) throws NoSuchLockException, TxnOpenException, TException {
  getPrimaryClient().unlock(rqst);
}
 
Example 9
Source Project: waggle-dance   Source File: FederatedHMSHandler.java    License: Apache License 2.0 4 votes vote down vote up
@Override
@Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME)
public void heartbeat(HeartbeatRequest ids)
    throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException {
  getPrimaryClient().heartbeat(ids);
}