Reference documentation and code samples for the Google Cloud Dataproc V1 Client class SoftwareConfig.
Specifies the selection and config of software inside the cluster.
Generated from protobuf message google.cloud.dataproc.v1.SoftwareConfig
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ image_version
string
Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions , such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version . If unspecified, it defaults to the latest Debian version.
↳ properties
array| Google\Protobuf\Internal\MapField
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.xml
For more information, see Cluster properties
.
↳ optional_components
array
Optional. The set of components to activate on the cluster.
getImageVersion
Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions , such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version .
If unspecified, it defaults to the latest Debian version.
string
setImageVersion
Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions , such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version .
If unspecified, it defaults to the latest Debian version.
var
string
$this
getProperties
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.xml
For more information, see Cluster properties .
setProperties
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.xml
For more information, see Cluster properties .
$this
getOptionalComponents
Optional. The set of components to activate on the cluster.
setOptionalComponents
Optional. The set of components to activate on the cluster.
var
int[]
$this