org.apache.hadoop.hive.metastore.api.NoSuchTxnException Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.api.NoSuchTxnException.
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 void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, TException { DatabaseMapping mapping = checkWritePermissions(rqst.getDbname()); mapping.getClient().add_dynamic_partitions(mapping.transformInboundAddDynamicPartitions(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 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 #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 lock(LockRequest lockRequest) throws NoSuchTxnException, TxnAbortedException, TException { return glueMetastoreClientDelegate.lock(lockRequest); }
Example #4
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 abort_txns(AbortTxnsRequest rqst) throws NoSuchTxnException, TException { getPrimaryClient().abort_txns(rqst); }
Example #5
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); }
Example #6
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 #7
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 #8
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 abort_txn(AbortTxnRequest rqst) throws NoSuchTxnException, TException { getPrimaryClient().abort_txn(rqst); }
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 rollbackTxn(long txnId) throws NoSuchTxnException, TException { glueMetastoreClientDelegate.rollbackTxn(txnId); }
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 checkLock(long lockId) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, TException { return glueMetastoreClientDelegate.checkLock(lockId); }
Example #11
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 #12
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 #13
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 #14
Source File: AWSCatalogMetastoreClient.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
@Override public void rollbackTxn(long txnId) throws NoSuchTxnException, TException { glueMetastoreClientDelegate.rollbackTxn(txnId); }
Example #15
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 #16
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 #17
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); }