简体   繁体   中英

How to set java version in the Azure hdinsight while creating a cluster

We are creating a cluster in Azure we need to upgrade the java version. Here is the command - az hdinsight create --name test_cluster --resource-group $resource_group --type spark --cluster-tier Standard --component-version Spark=$component_version --headnode-size $headnode_size --location $location --http-password $http_password --http-user $http_user --ssh-user $ssh_user --ssh-public-key "$ssh_pub_key" --storage-account $storage_account_name --storage-account-key $storage_account_key --storage-container $storage_container --su.net $su.net_name --.net-name $.net_name --version $version --workernode-count $workernode_count --workernode-size $workernode_size --tags Name=$cluster_name

Do we have an option to set the java version?

`Do we have an option to set the java version ?`

No, We don't have an option to set the java version using Azure cli cmdlet.

We can only update the tags of the specified HDInsight cluster using below cmdlet.

az hdinsight update --name MyCluster --resource-group rg --tags key=value

For more information about the supported az commands to Manage HDInsight resources, refer this document .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM