org.apache.hadoop.hive.metastore.api.TxnAbortedException Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.api.TxnAbortedException.
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: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 5 votes |
@Override @Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME) public LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, TException { DatabaseMapping mapping = databaseMappingService.primaryDatabaseMapping(); List<LockComponent> components = rqst.getComponent(); for (LockComponent component : components) { mapping.checkWritePermissions(component.getDbname()); } return mapping.getClient().lock(mapping.transformInboundLockRequest(rqst)); }
Example #2
Source File: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 5 votes |
@Override @Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME) public void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, TException { DatabaseMapping mapping = checkWritePermissions(rqst.getDbname()); mapping.getClient().add_dynamic_partitions(mapping.transformInboundAddDynamicPartitions(rqst)); }
Example #3
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public LockResponse checkLock(long lockId) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException { return glueMetastoreClientDelegate.checkLock(lockId); }
Example #4
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public void commitTxn(long txnId) throws NoSuchTxnException, TxnAbortedException, TException { glueMetastoreClientDelegate.commitTxn(txnId); }
Example #5
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@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 |
@Override public LockResponse lock(LockRequest lockRequest) throws NoSuchTxnException, TxnAbortedException, TException { return glueMetastoreClientDelegate.lock(lockRequest); }
Example #7
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public LockResponse checkLock(long lockId) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException { return glueMetastoreClientDelegate.checkLock(lockId); }
Example #8
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public void commitTxn(long txnId) throws NoSuchTxnException, TxnAbortedException, TException { glueMetastoreClientDelegate.commitTxn(txnId); }
Example #9
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public void heartbeat(long txnId, long lockId) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException { glueMetastoreClientDelegate.heartbeat(txnId, lockId); }
Example #10
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public LockResponse lock(LockRequest lockRequest) throws NoSuchTxnException, TxnAbortedException, TException { return glueMetastoreClientDelegate.lock(lockRequest); }
Example #11
Source File: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 4 votes |
@Override @Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME) public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, TException { getPrimaryClient().commit_txn(rqst); }
Example #12
Source File: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 4 votes |
@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 #13
Source File: FederatedHMSHandler.java From waggle-dance with Apache License 2.0 | 4 votes |
@Override @Loggable(value = Loggable.DEBUG, skipResult = true, name = INVOCATION_LOG_NAME) public void heartbeat(HeartbeatRequest ids) throws NoSuchLockException, NoSuchTxnException, TxnAbortedException, TException { getPrimaryClient().heartbeat(ids); }