org.apache.hadoop.hive.metastore.HiveMetaHook Java Examples
The following examples show how to use
org.apache.hadoop.hive.metastore.HiveMetaHook.
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: HiveMetaStoreClientFactory.java From incubator-gobblin with Apache License 2.0 | 7 votes |
private IMetaStoreClient createMetaStoreClient() throws MetaException { HiveMetaHookLoader hookLoader = new HiveMetaHookLoader() { @Override public HiveMetaHook getHook(Table tbl) throws MetaException { if (tbl == null) { return null; } try { HiveStorageHandler storageHandler = HiveUtils.getStorageHandler(hiveConf, tbl.getParameters().get(META_TABLE_STORAGE)); return storageHandler == null ? null : storageHandler.getMetaHook(); } catch (HiveException e) { LOG.error(e.toString()); throw new MetaException("Failed to get storage handler: " + e); } } }; return RetryingMetaStoreClient.getProxy(hiveConf, hookLoader, HiveMetaStoreClient.class.getName()); }
Example #2
Source File: DynamoDBStorageHandler.java From emr-dynamodb-connector with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return this; }
Example #3
Source File: KuduStorageHandler.java From HiveKudu-Handler with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return this; }
Example #4
Source File: KafkaStorageHandler.java From HiveKa with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return null; }
Example #5
Source File: CassandraStorageHandler.java From Hive-Cassandra with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return this; }
Example #6
Source File: AccumuloStorageHandler.java From accumulo-hive-storage-manager with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return this; }
Example #7
Source File: EsStorageHandler.java From elasticsearch-hadoop with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { //TODO: add metahook support return null; }
Example #8
Source File: JdbcStorageHandler.java From HiveJdbcStorageHandler with Apache License 2.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return new JDBCHook(); }
Example #9
Source File: SMStorageHandler.java From spliceengine with GNU Affero General Public License v3.0 | 4 votes |
@Override public HiveMetaHook getMetaHook() { return this; }