Reputation: 159
"azure hdinsight cluster create --help" does not appears having any option to choose specific version of HDInsight. Is there API level support?
Upvotes: 0
Views: 218
Reputation: 213
The command you're referencing now supports the --version
parameter. Try it out, or view this and other parameters by running this:
azure hdinsight cluster create --help
Upvotes: 1
Reputation: 2486
The value that the cli uses is hardcoded to 'default' in hdinsightservice.js in the azure-sdk-for-node.
Although not a great long-term solution, you could edit this file on your workstation. The default install will place it at /usr/local/lib/node_modules/azure-cli/node_modules/azure/lib/services/hdinsight/hdinsightservice.js
.
Change line 122 to read: Version : '3.0'
instead of Version : 'default'
and it should create a version 3.0 cluster.
Upvotes: 0
Reputation: 679
The cli can't specify version. Can you user Windows Azure PowerShell?
Upvotes: 0