1
votes

Can we create a dataproc cluster with custom image using Rest API or Java API. what config parameter can be used to give custom image name/uri. According to the documentation, ImageURI in instanceGroupConfig is "Output only. The Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version."

1

1 Answers

0
votes

[Output Only] tag on instanceGroupConfig.imageUri field is a hold over from when it was [Output Only]. As long as you set imageUri for both Master and Worker groups the setting will be honored.

In the mean time we will change the documentation.