public class HiveMetaStore extends ThriftHiveMetastore
Modifier and Type | Class and Description |
---|---|
static class |
HiveMetaStore.HiveMetastoreCli
HiveMetaStore specific CLI
|
static class |
HiveMetaStore.HMSHandler |
ThriftHiveMetastore.add_index_args, ThriftHiveMetastore.add_index_result, ThriftHiveMetastore.add_partition_args, ThriftHiveMetastore.add_partition_result, ThriftHiveMetastore.add_partition_with_environment_context_args, ThriftHiveMetastore.add_partition_with_environment_context_result, ThriftHiveMetastore.add_partitions_args, ThriftHiveMetastore.add_partitions_result, ThriftHiveMetastore.alter_database_args, ThriftHiveMetastore.alter_database_result, ThriftHiveMetastore.alter_index_args, ThriftHiveMetastore.alter_index_result, ThriftHiveMetastore.alter_partition_args, ThriftHiveMetastore.alter_partition_result, ThriftHiveMetastore.alter_partition_with_environment_context_args, ThriftHiveMetastore.alter_partition_with_environment_context_result, ThriftHiveMetastore.alter_partitions_args, ThriftHiveMetastore.alter_partitions_result, ThriftHiveMetastore.alter_table_args, ThriftHiveMetastore.alter_table_result, ThriftHiveMetastore.alter_table_with_environment_context_args, ThriftHiveMetastore.alter_table_with_environment_context_result, ThriftHiveMetastore.append_partition_args, ThriftHiveMetastore.append_partition_by_name_args, ThriftHiveMetastore.append_partition_by_name_result, ThriftHiveMetastore.append_partition_by_name_with_environment_context_args, ThriftHiveMetastore.append_partition_by_name_with_environment_context_result, ThriftHiveMetastore.append_partition_result, ThriftHiveMetastore.append_partition_with_environment_context_args, ThriftHiveMetastore.append_partition_with_environment_context_result, ThriftHiveMetastore.AsyncClient, ThriftHiveMetastore.AsyncIface, ThriftHiveMetastore.cancel_delegation_token_args, ThriftHiveMetastore.cancel_delegation_token_result, ThriftHiveMetastore.Client, ThriftHiveMetastore.create_database_args, ThriftHiveMetastore.create_database_result, ThriftHiveMetastore.create_role_args, ThriftHiveMetastore.create_role_result, ThriftHiveMetastore.create_table_args, ThriftHiveMetastore.create_table_result, ThriftHiveMetastore.create_table_with_environment_context_args, ThriftHiveMetastore.create_table_with_environment_context_result, ThriftHiveMetastore.create_type_args, ThriftHiveMetastore.create_type_result, ThriftHiveMetastore.delete_partition_column_statistics_args, ThriftHiveMetastore.delete_partition_column_statistics_result, ThriftHiveMetastore.delete_table_column_statistics_args, ThriftHiveMetastore.delete_table_column_statistics_result, ThriftHiveMetastore.drop_database_args, ThriftHiveMetastore.drop_database_result, ThriftHiveMetastore.drop_index_by_name_args, ThriftHiveMetastore.drop_index_by_name_result, ThriftHiveMetastore.drop_partition_args, ThriftHiveMetastore.drop_partition_by_name_args, ThriftHiveMetastore.drop_partition_by_name_result, ThriftHiveMetastore.drop_partition_by_name_with_environment_context_args, ThriftHiveMetastore.drop_partition_by_name_with_environment_context_result, ThriftHiveMetastore.drop_partition_result, ThriftHiveMetastore.drop_partition_with_environment_context_args, ThriftHiveMetastore.drop_partition_with_environment_context_result, ThriftHiveMetastore.drop_role_args, ThriftHiveMetastore.drop_role_result, ThriftHiveMetastore.drop_table_args, ThriftHiveMetastore.drop_table_result, ThriftHiveMetastore.drop_table_with_environment_context_args, ThriftHiveMetastore.drop_table_with_environment_context_result, ThriftHiveMetastore.drop_type_args, ThriftHiveMetastore.drop_type_result, ThriftHiveMetastore.exchange_partition_args, ThriftHiveMetastore.exchange_partition_result, ThriftHiveMetastore.get_all_databases_args, ThriftHiveMetastore.get_all_databases_result, ThriftHiveMetastore.get_all_tables_args, ThriftHiveMetastore.get_all_tables_result, ThriftHiveMetastore.get_config_value_args, ThriftHiveMetastore.get_config_value_result, ThriftHiveMetastore.get_database_args, ThriftHiveMetastore.get_database_result, ThriftHiveMetastore.get_databases_args, ThriftHiveMetastore.get_databases_result, ThriftHiveMetastore.get_delegation_token_args, ThriftHiveMetastore.get_delegation_token_result, ThriftHiveMetastore.get_fields_args, ThriftHiveMetastore.get_fields_result, ThriftHiveMetastore.get_index_by_name_args, ThriftHiveMetastore.get_index_by_name_result, ThriftHiveMetastore.get_index_names_args, ThriftHiveMetastore.get_index_names_result, ThriftHiveMetastore.get_indexes_args, ThriftHiveMetastore.get_indexes_result, ThriftHiveMetastore.get_partition_args, ThriftHiveMetastore.get_partition_by_name_args, ThriftHiveMetastore.get_partition_by_name_result, ThriftHiveMetastore.get_partition_column_statistics_args, ThriftHiveMetastore.get_partition_column_statistics_result, ThriftHiveMetastore.get_partition_names_args, ThriftHiveMetastore.get_partition_names_ps_args, ThriftHiveMetastore.get_partition_names_ps_result, ThriftHiveMetastore.get_partition_names_result, ThriftHiveMetastore.get_partition_result, ThriftHiveMetastore.get_partition_with_auth_args, ThriftHiveMetastore.get_partition_with_auth_result, ThriftHiveMetastore.get_partitions_args, ThriftHiveMetastore.get_partitions_by_filter_args, ThriftHiveMetastore.get_partitions_by_filter_result, ThriftHiveMetastore.get_partitions_by_names_args, ThriftHiveMetastore.get_partitions_by_names_result, ThriftHiveMetastore.get_partitions_ps_args, ThriftHiveMetastore.get_partitions_ps_result, ThriftHiveMetastore.get_partitions_ps_with_auth_args, ThriftHiveMetastore.get_partitions_ps_with_auth_result, ThriftHiveMetastore.get_partitions_result, ThriftHiveMetastore.get_partitions_with_auth_args, ThriftHiveMetastore.get_partitions_with_auth_result, ThriftHiveMetastore.get_privilege_set_args, ThriftHiveMetastore.get_privilege_set_result, ThriftHiveMetastore.get_role_names_args, ThriftHiveMetastore.get_role_names_result, ThriftHiveMetastore.get_schema_args, ThriftHiveMetastore.get_schema_result, ThriftHiveMetastore.get_table_args, ThriftHiveMetastore.get_table_column_statistics_args, ThriftHiveMetastore.get_table_column_statistics_result, ThriftHiveMetastore.get_table_names_by_filter_args, ThriftHiveMetastore.get_table_names_by_filter_result, ThriftHiveMetastore.get_table_objects_by_name_args, ThriftHiveMetastore.get_table_objects_by_name_result, ThriftHiveMetastore.get_table_result, ThriftHiveMetastore.get_tables_args, ThriftHiveMetastore.get_tables_result, ThriftHiveMetastore.get_type_all_args, ThriftHiveMetastore.get_type_all_result, ThriftHiveMetastore.get_type_args, ThriftHiveMetastore.get_type_result, ThriftHiveMetastore.grant_privileges_args, ThriftHiveMetastore.grant_privileges_result, ThriftHiveMetastore.grant_role_args, ThriftHiveMetastore.grant_role_result, ThriftHiveMetastore.Iface, ThriftHiveMetastore.isPartitionMarkedForEvent_args, ThriftHiveMetastore.isPartitionMarkedForEvent_result, ThriftHiveMetastore.list_privileges_args, ThriftHiveMetastore.list_privileges_result, ThriftHiveMetastore.list_roles_args, ThriftHiveMetastore.list_roles_result, ThriftHiveMetastore.markPartitionForEvent_args, ThriftHiveMetastore.markPartitionForEvent_result, ThriftHiveMetastore.partition_name_has_valid_characters_args, ThriftHiveMetastore.partition_name_has_valid_characters_result, ThriftHiveMetastore.partition_name_to_spec_args, ThriftHiveMetastore.partition_name_to_spec_result, ThriftHiveMetastore.partition_name_to_vals_args, ThriftHiveMetastore.partition_name_to_vals_result, ThriftHiveMetastore.Processor<I extends ThriftHiveMetastore.Iface>, ThriftHiveMetastore.rename_partition_args, ThriftHiveMetastore.rename_partition_result, ThriftHiveMetastore.renew_delegation_token_args, ThriftHiveMetastore.renew_delegation_token_result, ThriftHiveMetastore.revoke_privileges_args, ThriftHiveMetastore.revoke_privileges_result, ThriftHiveMetastore.revoke_role_args, ThriftHiveMetastore.revoke_role_result, ThriftHiveMetastore.set_ugi_args, ThriftHiveMetastore.set_ugi_result, ThriftHiveMetastore.update_partition_column_statistics_args, ThriftHiveMetastore.update_partition_column_statistics_result, ThriftHiveMetastore.update_table_column_statistics_args, ThriftHiveMetastore.update_table_column_statistics_result
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
HiveMetaStore() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelDelegationToken(java.lang.String tokenStrForm)
Discard a current delegation token.
|
static java.lang.String |
getDelegationToken(java.lang.String owner,
java.lang.String renewer)
Get a new delegation token.
|
static void |
main(java.lang.String[] args) |
static IHMSHandler |
newHMSHandler(java.lang.String name,
HiveConf hiveConf) |
static long |
renewDelegationToken(java.lang.String tokenStrForm)
Renew a delegation token to extend its lifetime.
|
static void |
startMetaStore(int port,
HadoopThriftAuthBridge bridge)
Start Metastore based on a passed
HadoopThriftAuthBridge |
static void |
startMetaStore(int port,
HadoopThriftAuthBridge bridge,
HiveConf conf)
Start Metastore based on a passed
HadoopThriftAuthBridge |
public static IHMSHandler newHMSHandler(java.lang.String name, HiveConf hiveConf) throws MetaException
MetaException
public static void cancelDelegationToken(java.lang.String tokenStrForm) throws java.io.IOException
tokenStrForm
- the token in string formjava.io.IOException
public static java.lang.String getDelegationToken(java.lang.String owner, java.lang.String renewer) throws java.io.IOException, java.lang.InterruptedException
renewer
- the designated renewerjava.io.IOException
java.lang.InterruptedException
public static long renewDelegationToken(java.lang.String tokenStrForm) throws java.io.IOException
tokenStrForm
- the token in string formjava.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Throwable
args
- java.lang.Throwable
public static void startMetaStore(int port, HadoopThriftAuthBridge bridge) throws java.lang.Throwable
HadoopThriftAuthBridge
port
- bridge
- java.lang.Throwable
public static void startMetaStore(int port, HadoopThriftAuthBridge bridge, HiveConf conf) throws java.lang.Throwable
HadoopThriftAuthBridge
port
- bridge
- conf
- configuration overridesjava.lang.Throwable
Copyright © 2012 The Apache Software Foundation