pub struct SoftwareConfig {
pub image_version: Option<String>,
pub optional_components: Option<Vec<String>>,
pub properties: Option<HashMap<String, String>>,
}Expand description
Specifies the selection and config of software inside the cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§image_version: Option<String>Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported-dataproc-image-versions), such as “1.2” (including a subminor version, such as “1.2.29”), or the “preview” version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.
optional_components: Option<Vec<String>>Optional. The set of components to activate on the cluster.
properties: Option<HashMap<String, String>>Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
Trait Implementations§
Source§impl Clone for SoftwareConfig
impl Clone for SoftwareConfig
Source§fn clone(&self) -> SoftwareConfig
fn clone(&self) -> SoftwareConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more