public sealed class HiveMetastoreConfig : IMessage<HiveMetastoreConfig>, IEquatable<HiveMetastoreConfig>, IDeepCloneable<HiveMetastoreConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class HiveMetastoreConfig.
Specifies configuration information specific to running Hive metastore
software as the metastore service.
public MapField<string, AuxiliaryVersionConfig> AuxiliaryVersions { get; }
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.
public MapField<string, string> ConfigOverrides { get; }
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.
public KerberosConfig KerberosConfig { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eHiveMetastoreConfig\u003c/code\u003e class in the Dataproc Metastore v1alpha API configures settings for running Hive metastore software as a service, with the latest version being 2.0.0-alpha11.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for the configuration of auxiliary Hive metastore versions, which are secondary versions running alongside the primary service, and all of which must be less than the main version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHiveMetastoreConfig\u003c/code\u003e supports custom configuration overrides via key-value pairs that are applied to the \u003ccode\u003ehive-site.xml\u003c/code\u003e, and these can be further customized for auxiliary versions.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint protocol (defaulting to \u003ccode\u003eTHRIFT\u003c/code\u003e) can be set, and the service can also be configured as a service principal within a Kerberos realm.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHiveMetastoreConfig\u003c/code\u003e has a version property, defining the immutable Hive metastore schema version.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class HiveMetastoreConfig (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig) \n\n public sealed class HiveMetastoreConfig : IMessage\u003cHiveMetastoreConfig\u003e, IEquatable\u003cHiveMetastoreConfig\u003e, IDeepCloneable\u003cHiveMetastoreConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class HiveMetastoreConfig.\n\nSpecifies configuration information specific to running Hive metastore\nsoftware as the metastore service. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e HiveMetastoreConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[HiveMetastoreConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[HiveMetastoreConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[HiveMetastoreConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.HiveMetastoreConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Metastore.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.dll\n\nConstructors\n------------\n\n### HiveMetastoreConfig()\n\n public HiveMetastoreConfig()\n\n### HiveMetastoreConfig(HiveMetastoreConfig)\n\n public HiveMetastoreConfig(HiveMetastoreConfig other)\n\nProperties\n----------\n\n### AuxiliaryVersions\n\n public MapField\u003cstring, AuxiliaryVersionConfig\u003e AuxiliaryVersions { get; }\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](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/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### ConfigOverrides\n\n public MapField\u003cstring, string\u003e ConfigOverrides { get; }\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### EndpointProtocol\n\n public HiveMetastoreConfig.Types.EndpointProtocol EndpointProtocol { get; set; }\n\nThe protocol to use for the metastore service endpoint. If unspecified,\ndefaults to `THRIFT`.\n\n### KerberosConfig\n\n public KerberosConfig KerberosConfig { get; set; }\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### Version\n\n public string Version { get; set; }\n\nImmutable. The Hive metastore schema version."]]