This is an automated email from the ASF dual-hosted git repository.
mahesh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git.
from 2431fd1 HIVE-24705: Authorization support for Storage-handler based
tables (Saihemanth via Naveen Gangam)
add e240417 HIVE-25205 : Reduce overhead of adding write notification log
during batch loading of partition. (Mahesh Kumar Behera, reviewed by Pravin
Kumar Sinha)
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/hadoop/hive/conf/HiveConf.java | 4 +
.../hcatalog/listener/DbNotificationListener.java | 255 +-
.../listener/TestDbNotificationListener.java | 5 +
.../metastore/SynchronizedMetaStoreClient.java | 5 +
.../ql/ddl/table/create/CreateTableOperation.java | 3 +-
.../org/apache/hadoop/hive/ql/metadata/Hive.java | 66 +-
.../src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp | 2873 +++++++-----
.../src/gen/thrift/gen-cpp/ThriftHiveMetastore.h | 126 +
.../ThriftHiveMetastore_server.skeleton.cpp | 5 +
.../gen/thrift/gen-cpp/hive_metastore_types.cpp | 3993 ++++++++--------
.../src/gen/thrift/gen-cpp/hive_metastore_types.h | 86 +
.../hive/metastore/api/AlterPartitionsRequest.java | 36 +-
.../hive/metastore/api/AlterTableRequest.java | 32 +-
.../metastore/api/ClearFileMetadataRequest.java | 32 +-
.../hive/metastore/api/ClientCapabilities.java | 36 +-
.../hive/metastore/api/CreateDatabaseRequest.java | 44 +-
.../hive/metastore/api/CreateTableRequest.java | 248 +-
.../hive/metastore/api/ExtendedTableInfo.java | 64 +-
.../hive/metastore/api/FindSchemasByColsResp.java | 36 +-
.../metastore/api/GetAllFunctionsResponse.java | 36 +-
.../hive/metastore/api/GetDatabaseRequest.java | 32 +-
.../hive/metastore/api/GetFieldsResponse.java | 36 +-
.../api/GetFileMetadataByExprRequest.java | 32 +-
.../metastore/api/GetFileMetadataByExprResult.java | 48 +-
.../hive/metastore/api/GetFileMetadataRequest.java | 32 +-
.../hive/metastore/api/GetFileMetadataResult.java | 44 +-
.../hive/metastore/api/GetOpenTxnsRequest.java | 36 +-
.../metastore/api/GetPartitionNamesPsRequest.java | 32 +-
.../metastore/api/GetPartitionNamesPsResponse.java | 32 +-
.../hive/metastore/api/GetPartitionRequest.java | 32 +-
.../metastore/api/GetPartitionsFilterSpec.java | 32 +-
.../api/GetPartitionsPsWithAuthRequest.java | 64 +-
.../api/GetPartitionsPsWithAuthResponse.java | 36 +-
.../hive/metastore/api/GetPartitionsRequest.java | 64 +-
.../hive/metastore/api/GetPartitionsResponse.java | 36 +-
.../hive/metastore/api/GetProjectionsSpec.java | 32 +-
.../hive/metastore/api/GetSchemaResponse.java | 36 +-
.../hadoop/hive/metastore/api/GetTableRequest.java | 32 +-
.../hive/metastore/api/GetTablesExtRequest.java | 32 +-
.../hive/metastore/api/GetTablesRequest.java | 64 +-
.../hadoop/hive/metastore/api/GetTablesResult.java | 36 +-
.../hive/metastore/api/PartitionsResponse.java | 36 +-
.../hive/metastore/api/PutFileMetadataRequest.java | 64 +-
.../hive/metastore/api/RenamePartitionRequest.java | 32 +-
.../hive/metastore/api/ReplicationMetricList.java | 36 +-
.../hadoop/hive/metastore/api/SchemaVersion.java | 36 +-
.../hive/metastore/api/ThriftHiveMetastore.java | 4807 ++++++++++++--------
.../hive/metastore/api/WMFullResourcePlan.java | 144 +-
.../api/WMGetAllResourcePlanResponse.java | 36 +-
.../api/WMGetTriggersForResourePlanResponse.java | 36 +-
.../api/WMValidateResourcePlanResponse.java | 64 +-
.../api/WriteNotificationLogBatchRequest.java | 724 +++
...java => WriteNotificationLogBatchResponse.java} | 52 +-
.../gen-php/metastore/AlterPartitionsRequest.php | 20 +-
.../thrift/gen-php/metastore/AlterTableRequest.php | 18 +-
.../gen-php/metastore/ClearFileMetadataRequest.php | 18 +-
.../gen-php/metastore/ClientCapabilities.php | 18 +-
.../gen-php/metastore/CreateDatabaseRequest.php | 26 +-
.../gen-php/metastore/CreateTableRequest.php | 138 +-
.../thrift/gen-php/metastore/ExtendedTableInfo.php | 36 +-
.../gen-php/metastore/FindSchemasByColsResp.php | 20 +-
.../gen-php/metastore/GetAllFunctionsResponse.php | 20 +-
.../gen-php/metastore/GetDatabaseRequest.php | 18 +-
.../thrift/gen-php/metastore/GetFieldsResponse.php | 20 +-
.../metastore/GetFileMetadataByExprRequest.php | 18 +-
.../metastore/GetFileMetadataByExprResult.php | 28 +-
.../gen-php/metastore/GetFileMetadataRequest.php | 18 +-
.../gen-php/metastore/GetFileMetadataResult.php | 26 +-
.../gen-php/metastore/GetOpenTxnsRequest.php | 18 +-
.../metastore/GetPartitionNamesPsRequest.php | 18 +-
.../metastore/GetPartitionNamesPsResponse.php | 18 +-
.../gen-php/metastore/GetPartitionRequest.php | 18 +-
.../gen-php/metastore/GetPartitionsFilterSpec.php | 18 +-
.../metastore/GetPartitionsPsWithAuthRequest.php | 36 +-
.../metastore/GetPartitionsPsWithAuthResponse.php | 20 +-
.../gen-php/metastore/GetPartitionsRequest.php | 36 +-
.../gen-php/metastore/GetPartitionsResponse.php | 20 +-
.../gen-php/metastore/GetProjectionsSpec.php | 18 +-
.../thrift/gen-php/metastore/GetSchemaResponse.php | 20 +-
.../thrift/gen-php/metastore/GetTableRequest.php | 18 +-
.../gen-php/metastore/GetTablesExtRequest.php | 18 +-
.../thrift/gen-php/metastore/GetTablesRequest.php | 36 +-
.../thrift/gen-php/metastore/GetTablesResult.php | 20 +-
.../gen-php/metastore/PartitionsResponse.php | 20 +-
.../gen-php/metastore/PutFileMetadataRequest.php | 36 +-
.../gen-php/metastore/RenamePartitionRequest.php | 18 +-
.../gen-php/metastore/ReplicationMetricList.php | 20 +-
.../gen/thrift/gen-php/metastore/SchemaVersion.php | 20 +-
.../metastore/ThriftHiveMetastoreClient.php | 59 +
.../gen-php/metastore/ThriftHiveMetastoreIf.php | 5 +
.../ThriftHiveMetastore_add_partitions_args.php | 20 +-
...riftHiveMetastore_add_partitions_pspec_args.php | 20 +-
...e_add_write_notification_log_in_batch_args.php} | 12 +-
...add_write_notification_log_in_batch_result.php} | 12 +-
.../ThriftHiveMetastore_alter_partitions_args.php | 20 +-
...er_partitions_with_environment_context_args.php | 20 +-
.../ThriftHiveMetastore_append_partition_args.php | 18 +-
...end_partition_with_environment_context_args.php | 18 +-
...etastore_create_table_with_constraints_args.php | 120 +-
.../ThriftHiveMetastore_drop_partition_args.php | 18 +-
...rop_partition_with_environment_context_args.php | 18 +-
...ThriftHiveMetastore_exchange_partition_args.php | 26 +-
...hriftHiveMetastore_exchange_partitions_args.php | 26 +-
...iftHiveMetastore_exchange_partitions_result.php | 20 +-
...iveMetastore_find_columns_with_stats_result.php | 18 +-
...hriftHiveMetastore_get_all_databases_result.php | 18 +-
...erialized_view_objects_for_rewriting_result.php | 20 +-
...ThriftHiveMetastore_get_all_packages_result.php | 18 +-
...eMetastore_get_all_stored_procedures_result.php | 18 +-
.../ThriftHiveMetastore_get_all_tables_result.php | 18 +-
...eMetastore_get_all_token_identifiers_result.php | 18 +-
...veMetastore_get_all_write_event_info_result.php | 20 +-
.../ThriftHiveMetastore_get_databases_result.php | 18 +-
...riftHiveMetastore_get_dataconnectors_result.php | 18 +-
.../ThriftHiveMetastore_get_fields_result.php | 20 +-
..._get_fields_with_environment_context_result.php | 20 +-
.../ThriftHiveMetastore_get_functions_result.php | 18 +-
.../ThriftHiveMetastore_get_master_keys_result.php | 18 +-
...get_materialized_views_for_rewriting_result.php | 18 +-
...veMetastore_get_part_specs_by_filter_result.php | 20 +-
.../ThriftHiveMetastore_get_partition_args.php | 18 +-
...ftHiveMetastore_get_partition_names_ps_args.php | 18 +-
...HiveMetastore_get_partition_names_ps_result.php | 18 +-
...iveMetastore_get_partition_names_req_result.php | 18 +-
...iftHiveMetastore_get_partition_names_result.php | 18 +-
...tHiveMetastore_get_partition_with_auth_args.php | 36 +-
...veMetastore_get_partitions_by_filter_result.php | 20 +-
...tHiveMetastore_get_partitions_by_names_args.php | 18 +-
...iveMetastore_get_partitions_by_names_result.php | 20 +-
.../ThriftHiveMetastore_get_partitions_ps_args.php | 18 +-
...hriftHiveMetastore_get_partitions_ps_result.php | 20 +-
...eMetastore_get_partitions_ps_with_auth_args.php | 36 +-
...etastore_get_partitions_ps_with_auth_result.php | 20 +-
...ftHiveMetastore_get_partitions_pspec_result.php | 20 +-
.../ThriftHiveMetastore_get_partitions_result.php | 20 +-
...HiveMetastore_get_partitions_with_auth_args.php | 18 +-
...veMetastore_get_partitions_with_auth_result.php | 20 +-
.../ThriftHiveMetastore_get_privilege_set_args.php | 18 +-
.../ThriftHiveMetastore_get_role_names_result.php | 18 +-
...hriftHiveMetastore_get_runtime_stats_result.php | 20 +-
...iveMetastore_get_schema_all_versions_result.php | 20 +-
.../ThriftHiveMetastore_get_schema_result.php | 20 +-
..._get_schema_with_environment_context_result.php | 20 +-
.../ThriftHiveMetastore_get_table_meta_args.php | 18 +-
.../ThriftHiveMetastore_get_table_meta_result.php | 20 +-
...eMetastore_get_table_names_by_filter_result.php | 18 +-
...iveMetastore_get_table_objects_by_name_args.php | 18 +-
...eMetastore_get_table_objects_by_name_result.php | 20 +-
...riftHiveMetastore_get_tables_by_type_result.php | 18 +-
.../ThriftHiveMetastore_get_tables_ext_result.php | 20 +-
.../ThriftHiveMetastore_get_tables_result.php | 18 +-
.../ThriftHiveMetastore_get_type_all_result.php | 28 +-
...iveMetastore_isPartitionMarkedForEvent_args.php | 26 +-
.../ThriftHiveMetastore_list_privileges_result.php | 20 +-
.../ThriftHiveMetastore_list_roles_result.php | 20 +-
...iftHiveMetastore_markPartitionForEvent_args.php | 26 +-
...re_partition_name_has_valid_characters_args.php | 18 +-
...HiveMetastore_partition_name_to_spec_result.php | 26 +-
...HiveMetastore_partition_name_to_vals_result.php | 18 +-
.../ThriftHiveMetastore_rename_partition_args.php | 18 +-
.../metastore/ThriftHiveMetastore_set_ugi_args.php | 18 +-
.../ThriftHiveMetastore_set_ugi_result.php | 18 +-
.../ThriftHiveMetastore_truncate_table_args.php | 18 +-
.../gen-php/metastore/WMFullResourcePlan.php | 80 +-
.../metastore/WMGetAllResourcePlanResponse.php | 20 +-
.../WMGetTriggersForResourePlanResponse.php | 20 +-
.../metastore/WMValidateResourcePlanResponse.php | 36 +-
...fo.php => WriteNotificationLogBatchRequest.php} | 116 +-
...e.php => WriteNotificationLogBatchResponse.php} | 6 +-
.../hive_metastore/ThriftHiveMetastore-remote | 7 +
.../gen-py/hive_metastore/ThriftHiveMetastore.py | 1215 ++---
.../src/gen/thrift/gen-py/hive_metastore/ttypes.py | 866 ++--
.../src/gen/thrift/gen-rb/hive_metastore_types.rb | 45 +
.../src/gen/thrift/gen-rb/thrift_hive_metastore.rb | 54 +
.../hadoop/hive/metastore/HiveMetaStoreClient.java | 6 +
.../hadoop/hive/metastore/IMetaStoreClient.java | 8 +
.../src/main/thrift/hive_metastore.thrift | 12 +
.../apache/hadoop/hive/metastore/HMSHandler.java | 61 +-
.../hive/metastore/MetaStoreEventListener.java | 12 +
.../hive/metastore/MetaStoreListenerNotifier.java | 6 +
.../hive/metastore/events/BatchAcidWriteEvent.java | 109 +
.../hive/metastore/messaging/EventMessage.java | 1 +
.../hive/metastore/messaging/MessageBuilder.java | 1 +
.../hadoop/hive/metastore/txn/TxnHandler.java | 7 +-
.../apache/hadoop/hive/metastore/txn/TxnStore.java | 3 +-
.../metastore/HiveMetaStoreClientPreCatalog.java | 6 +
.../hive/streaming/HiveStreamingConnection.java | 2 +-
187 files changed, 11698 insertions(+), 8367 deletions(-)
create mode 100644
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogBatchRequest.java
copy
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/{WriteNotificationLogResponse.java
=> WriteNotificationLogBatchResponse.java} (76%)
copy
standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/{ThriftHiveMetastore_add_write_notification_log_args.php
=> ThriftHiveMetastore_add_write_notification_log_in_batch_args.php} (88%)
copy
standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/{ThriftHiveMetastore_add_write_notification_log_result.php
=> ThriftHiveMetastore_add_write_notification_log_in_batch_result.php} (87%)
copy
standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/{ReplLastIdInfo.php
=> WriteNotificationLogBatchRequest.php} (61%)
copy
standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/{WriteNotificationLogResponse.php
=> WriteNotificationLogBatchResponse.php} (93%)
create mode 100644
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/events/BatchAcidWriteEvent.java