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

The following examples show how to use org.apache.hadoop.hive.metastore.api.NoSuchLockException. 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
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public LockResponse checkLock(long lockId)
    throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException {
  return glueMetastoreClientDelegate.checkLock(lockId);
}
 
Example #2
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public void heartbeat(long txnId, long lockId)
    throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException {
  glueMetastoreClientDelegate.heartbeat(txnId, lockId);
}
 
Example #3
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public void unlock(long lockId) throws NoSuchLockException, TxnOpenException, TException {
  glueMetastoreClientDelegate.unlock(lockId);
}
 
Example #4
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public LockResponse checkLock(long lockId)
    throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException {
  return glueMetastoreClientDelegate.checkLock(lockId);
}
 
Example #5
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public void heartbeat(long txnId, long lockId)
    throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException {
  glueMetastoreClientDelegate.heartbeat(txnId, lockId);
}
 
Example #6
Source File: AWSCatalogMetastoreClient.java    From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 4 votes vote down vote up
@Override
public void unlock(long lockId) throws NoSuchLockException, TxnOpenException, TException {
  glueMetastoreClientDelegate.unlock(lockId);
}
 
Example #7
Source File: FederatedHMSHandler.java    From waggle-dance with 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 File: FederatedHMSHandler.java    From waggle-dance with 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 File: FederatedHMSHandler.java    From waggle-dance with 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);
}