public sealed class HiveMetastoreConfig : IMessage<HiveMetastoreConfig>, IEquatable<HiveMetastoreConfig>, IDeepCloneable<HiveMetastoreConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1 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 \u003ccode\u003eGoogle.Cloud.Metastore.V1\u003c/code\u003e namespace is used to configure Hive metastore software for the metastore service within the Dataproc Metastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for the configuration of auxiliary versions, where a secondary Hive metastore service runs alongside the primary, all auxiliary versions must be of a lesser version number than the primary.\u003c/p\u003e\n"],["\u003cp\u003eUsers can apply custom key-value pair overrides to the Hive metastore configuration via \u003ccode\u003eConfigOverrides\u003c/code\u003e, which also apply to any auxiliary versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEndpointProtocol\u003c/code\u003e property allows users to set the communication protocol for the metastore service endpoint, with \u003ccode\u003eTHRIFT\u003c/code\u003e as the default if no other value is specified.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for kerberos integration using the property \u003ccode\u003eKerberosConfig\u003c/code\u003e, and the \u003ccode\u003eVersion\u003c/code\u003e property indicates the schema version.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1 API - Class HiveMetastoreConfig (2.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.8.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.7.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.6.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.5.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.4.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.3.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.2.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.1.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/2.0.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.1.0/Google.Cloud.Metastore.V1.HiveMetastoreConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Metastore.V1/1.0.0/Google.Cloud.Metastore.V1.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 v1 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.V1/latest/Google.Cloud.Metastore.V1.HiveMetastoreConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[HiveMetastoreConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.HiveMetastoreConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[HiveMetastoreConfig](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1.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.V1](/dotnet/docs/reference/Google.Cloud.Metastore.V1/latest/Google.Cloud.Metastore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1.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.V1/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."]]