A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured inhive-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'sAuxiliaryVersionConfig.
Information used to configure the Hive metastore service as a service principal in a Kerberos realm. To disable Kerberos, use theUpdateServicemethod and specify this field's path (hive_metastore_config.kerberos_config) in the request'supdate_maskwhile omitting this field from the request'sservice.
↳ endpoint_protocol
int
The protocol to use for the metastore service endpoint. If unspecified, defaults toTHRIFT.
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 expressiona-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.
getVersion
Immutable. The Hive metastore schema version.
Returns
Type
Description
string
setVersion
Immutable. The Hive metastore schema version.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getConfigOverrides
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured inhive-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'sAuxiliaryVersionConfig.
A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured inhive-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'sAuxiliaryVersionConfig.
Information used to configure the Hive metastore service as a service
principal in a Kerberos realm. To disable Kerberos, use theUpdateServicemethod and specify this field's path
(hive_metastore_config.kerberos_config) in the request'supdate_maskwhile omitting this field from the request'sservice.
Information used to configure the Hive metastore service as a service
principal in a Kerberos realm. To disable Kerberos, use theUpdateServicemethod and specify this field's path
(hive_metastore_config.kerberos_config) in the request'supdate_maskwhile omitting this field from the request'sservice.
The protocol to use for the metastore service endpoint. If unspecified,
defaults toTHRIFT.
Returns
Type
Description
int
setEndpointProtocol
The protocol to use for the metastore service endpoint. If unspecified,
defaults toTHRIFT.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAuxiliaryVersions
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 expressiona-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.
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 expressiona-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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc Metastore V1 Client - Class HiveMetastoreConfig (1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/php/docs/reference/cloud-dataproc-metastore/latest/V1.HiveMetastoreConfig)\n- [1.1.0](/php/docs/reference/cloud-dataproc-metastore/1.1.0/V1.HiveMetastoreConfig)\n- [1.0.4](/php/docs/reference/cloud-dataproc-metastore/1.0.4/V1.HiveMetastoreConfig)\n- [0.11.5](/php/docs/reference/cloud-dataproc-metastore/0.11.5/V1.HiveMetastoreConfig)\n- [0.10.2](/php/docs/reference/cloud-dataproc-metastore/0.10.2/V1.HiveMetastoreConfig)\n- [0.9.0](/php/docs/reference/cloud-dataproc-metastore/0.9.0/V1.HiveMetastoreConfig)\n- [0.8.1](/php/docs/reference/cloud-dataproc-metastore/0.8.1/V1.HiveMetastoreConfig)\n- [0.7.0](/php/docs/reference/cloud-dataproc-metastore/0.7.0/V1.HiveMetastoreConfig)\n- [0.6.1](/php/docs/reference/cloud-dataproc-metastore/0.6.1/V1.HiveMetastoreConfig)\n- [0.5.1](/php/docs/reference/cloud-dataproc-metastore/0.5.1/V1.HiveMetastoreConfig)\n- [0.4.1](/php/docs/reference/cloud-dataproc-metastore/0.4.1/V1.HiveMetastoreConfig) \nReference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class HiveMetastoreConfig.\n\nSpecifies configuration information specific to running Hive metastore\nsoftware as the metastore service.\n\nGenerated from protobuf message `google.cloud.metastore.v1.HiveMetastoreConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Metastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVersion\n\nImmutable. The Hive metastore schema version.\n\n### setVersion\n\nImmutable. The Hive metastore schema version.\n\n### getConfigOverrides\n\nA mapping of Hive metastore configuration key-value pairs to apply to the\nHive metastore (configured in `hive-site.xml`). The mappings\noverride system defaults (some keys cannot be overridden). These\noverrides are also applied to auxiliary versions and can be further\ncustomized in the auxiliary version's `AuxiliaryVersionConfig`.\n\n### setConfigOverrides\n\nA mapping of Hive metastore configuration key-value pairs to apply to the\nHive metastore (configured in `hive-site.xml`). The mappings\noverride system defaults (some keys cannot be overridden). These\noverrides are also applied to auxiliary versions and can be further\ncustomized in the auxiliary version's `AuxiliaryVersionConfig`.\n\n### getKerberosConfig\n\nInformation used to configure the Hive metastore service as a service\nprincipal in a Kerberos realm. To disable Kerberos, use the `UpdateService`\nmethod and specify this field's path\n(`hive_metastore_config.kerberos_config`) in the request's `update_mask`\nwhile omitting this field from the request's `service`.\n\n### hasKerberosConfig\n\n### clearKerberosConfig\n\n### setKerberosConfig\n\nInformation used to configure the Hive metastore service as a service\nprincipal in a Kerberos realm. To disable Kerberos, use the `UpdateService`\nmethod and specify this field's path\n(`hive_metastore_config.kerberos_config`) in the request's `update_mask`\nwhile omitting this field from the request's `service`.\n\n### getEndpointProtocol\n\nThe protocol to use for the metastore service endpoint. If unspecified,\ndefaults to `THRIFT`.\n\n### setEndpointProtocol\n\nThe protocol to use for the metastore service endpoint. If unspecified,\ndefaults to `THRIFT`.\n\n### getAuxiliaryVersions\n\nA mapping of Hive metastore version to the auxiliary version\nconfiguration. When specified, a secondary Hive metastore service is\ncreated along with the primary service. All auxiliary versions must be less\nthan the service's primary version. The key is the auxiliary service name\nand it must match the regular expression [a-z](/php/docs/reference/cloud-dataproc-metastore/latest/[-a-z0-9]*[a-z0-9])?. This\nmeans that the first character must be a lowercase letter, and all the\nfollowing characters must be hyphens, lowercase letters, or digits, except\nthe last character, which cannot be a hyphen.\n\n### setAuxiliaryVersions\n\nA mapping of Hive metastore version to the auxiliary version\nconfiguration. When specified, a secondary Hive metastore service is\ncreated along with the primary service. All auxiliary versions must be less\nthan the service's primary version. The key is the auxiliary service name\nand it must match the regular expression [a-z](/php/docs/reference/cloud-dataproc-metastore/latest/[-a-z0-9]*[a-z0-9])?. This\nmeans that the first character must be a lowercase letter, and all the\nfollowing characters must be hyphens, lowercase letters, or digits, except\nthe last character, which cannot be a hyphen."]]