Class: Google::Cloud::Metastore::V1beta::HiveMetastoreConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/metastore/v1beta/metastore.rb

Overview

Specifies configuration information specific to running Hive metastore software as the metastore service.

Defined Under Namespace

Modules: EndpointProtocol Classes: AuxiliaryVersionsEntry, ConfigOverridesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#auxiliary_versions::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig}

Returns A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.

Returns:

  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig})

    A mapping of Hive metastore version to the auxiliary version configuration. When specified, a secondary Hive metastore service is created along with the primary service. All auxiliary versions must be less than the service's primary version. The key is the auxiliary service name and it must match the regular expression a-z?. This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 297

class HiveMetastoreConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ConfigOverridesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
  class AuxiliaryVersionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Protocols available for serving the metastore service endpoint.
  module EndpointProtocol
    # The protocol is not set.
    ENDPOINT_PROTOCOL_UNSPECIFIED = 0

    # Use the legacy Apache Thrift protocol for the metastore service endpoint.
    THRIFT = 1

    # Use the modernized gRPC protocol for the metastore service endpoint.
    GRPC = 2
  end
end

#config_overrides::Google::Protobuf::Map{::String => ::String}

Returns A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml). The mappings override system defaults (some keys cannot be overridden). These overrides are also applied to auxiliary versions and can be further customized in the auxiliary version's AuxiliaryVersionConfig.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 297

class HiveMetastoreConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ConfigOverridesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
  class AuxiliaryVersionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Protocols available for serving the metastore service endpoint.
  module EndpointProtocol
    # The protocol is not set.
    ENDPOINT_PROTOCOL_UNSPECIFIED = 0

    # Use the legacy Apache Thrift protocol for the metastore service endpoint.
    THRIFT = 1

    # Use the modernized gRPC protocol for the metastore service endpoint.
    GRPC = 2
  end
end

#endpoint_protocol::Google::Cloud::Metastore::V1beta::HiveMetastoreConfig::EndpointProtocol

Returns The protocol to use for the metastore service endpoint. If unspecified, defaults to THRIFT.

Returns:



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 297

class HiveMetastoreConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ConfigOverridesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
  class AuxiliaryVersionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Protocols available for serving the metastore service endpoint.
  module EndpointProtocol
    # The protocol is not set.
    ENDPOINT_PROTOCOL_UNSPECIFIED = 0

    # Use the legacy Apache Thrift protocol for the metastore service endpoint.
    THRIFT = 1

    # Use the modernized gRPC protocol for the metastore service endpoint.
    GRPC = 2
  end
end

#kerberos_config::Google::Cloud::Metastore::V1beta::KerberosConfig

Returns Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service.

Returns:

  • (::Google::Cloud::Metastore::V1beta::KerberosConfig)

    Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use the UpdateService method and specify this field's path (hive_metastore_config.kerberos_config) in the request's update_mask while omitting this field from the request's service.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 297

class HiveMetastoreConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ConfigOverridesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
  class AuxiliaryVersionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Protocols available for serving the metastore service endpoint.
  module EndpointProtocol
    # The protocol is not set.
    ENDPOINT_PROTOCOL_UNSPECIFIED = 0

    # Use the legacy Apache Thrift protocol for the metastore service endpoint.
    THRIFT = 1

    # Use the modernized gRPC protocol for the metastore service endpoint.
    GRPC = 2
  end
end

#version::String

Returns Immutable. The Hive metastore schema version.

Returns:

  • (::String)

    Immutable. The Hive metastore schema version.



297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# File 'proto_docs/google/cloud/metastore/v1beta/metastore.rb', line 297

class HiveMetastoreConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ConfigOverridesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Metastore::V1beta::AuxiliaryVersionConfig]
  class AuxiliaryVersionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Protocols available for serving the metastore service endpoint.
  module EndpointProtocol
    # The protocol is not set.
    ENDPOINT_PROTOCOL_UNSPECIFIED = 0

    # Use the legacy Apache Thrift protocol for the metastore service endpoint.
    THRIFT = 1

    # Use the modernized gRPC protocol for the metastore service endpoint.
    GRPC = 2
  end
end