Google Cloud Dataproc Metastore V1 Client - Class HiveMetastoreConfig (0.4.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class HiveMetastoreConfig.

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

Generated from protobuf message google.cloud.metastore.v1.HiveMetastoreConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ version string

Immutable. The Hive metastore schema version.

↳ config_overrides array|Google\Protobuf\Internal\MapField

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.

↳ kerberos_config Google\Cloud\Metastore\V1\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.

getVersion

Immutable. The Hive metastore schema version.

Generated from protobuf field string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
string

setVersion

Immutable. The Hive metastore schema version.

Generated from protobuf field string version = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfigOverrides

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.

Generated from protobuf field map<string, string> config_overrides = 2;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setConfigOverrides

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.

Generated from protobuf field map<string, string> config_overrides = 2;

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getKerberosConfig

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.

Generated from protobuf field .google.cloud.metastore.v1.KerberosConfig kerberos_config = 3;

Returns
TypeDescription
Google\Cloud\Metastore\V1\KerberosConfig|null

hasKerberosConfig

clearKerberosConfig

setKerberosConfig

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.

Generated from protobuf field .google.cloud.metastore.v1.KerberosConfig kerberos_config = 3;

Parameter
NameDescription
var Google\Cloud\Metastore\V1\KerberosConfig
Returns
TypeDescription
$this