org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse.
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: FederatedHMSHandlerTest.java From waggle-dance with Apache License 2.0 | 5 votes |
@Test public void heartbeat_txn_range() throws TException { HeartbeatTxnRangeRequest request = new HeartbeatTxnRangeRequest(); HeartbeatTxnRangeResponse expected = new HeartbeatTxnRangeResponse(); when(primaryClient.heartbeat_txn_range(request)).thenReturn(expected); HeartbeatTxnRangeResponse result = handler.heartbeat_txn_range(request); assertThat(result, is(expected)); }
Example #2
Source File: GlueMetastoreClientDelegate.java From aws-glue-data-catalog-client-for-apache-hive-metastore with Apache License 2.0 | 4 votes |
public HeartbeatTxnRangeResponse heartbeatTxnRange(long min, long max) throws TException { throw new UnsupportedOperationException("heartbeatTxnRange is not supported"); }
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 HeartbeatTxnRangeResponse heartbeatTxnRange(long min, long max) throws TException { return glueMetastoreClientDelegate.heartbeatTxnRange(min, max); }
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 HeartbeatTxnRangeResponse heartbeatTxnRange(long min, long max) throws TException { return glueMetastoreClientDelegate.heartbeatTxnRange(min, max); }
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 HeartbeatTxnRangeResponse heartbeat_txn_range(HeartbeatTxnRangeRequest txns) throws TException { return getPrimaryClient().heartbeat_txn_range(txns); }
Example #6
Source File: CatalogThriftHiveMetastore.java From metacat with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ @Override public HeartbeatTxnRangeResponse heartbeat_txn_range(final HeartbeatTxnRangeRequest txns) throws TException { throw unimplemented("heartbeat_txn_range", new Object[]{txns}); }