Class: Google::Cloud::Metastore::V1::HiveMetastoreConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Metastore::V1::HiveMetastoreConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/metastore/v1/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
-
#auxiliary_versions ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}
A mapping of Hive metastore version to the auxiliary version configuration.
-
#config_overrides ⇒ ::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
). -
#endpoint_protocol ⇒ ::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol
The protocol to use for the metastore service endpoint.
-
#kerberos_config ⇒ ::Google::Cloud::Metastore::V1::KerberosConfig
Information used to configure the Hive metastore service as a service principal in a Kerberos realm.
-
#version ⇒ ::String
Immutable.
Instance Attribute Details
#auxiliary_versions ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1::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.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 238 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::V1::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
.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 238 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::V1::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::V1::HiveMetastoreConfig::EndpointProtocol
Returns The protocol to use for the metastore service endpoint. If unspecified,
defaults to THRIFT
.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 238 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::V1::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::V1::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
.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 238 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::V1::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.
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'proto_docs/google/cloud/metastore/v1/metastore.rb', line 238 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::V1::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 |