Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何通过Azure命令行工具创建3.0版HDInsight群集?_Azure_Azure Hdinsight - Fatal编程技术网

如何通过Azure命令行工具创建3.0版HDInsight群集?

如何通过Azure命令行工具创建3.0版HDInsight群集?,azure,azure-hdinsight,Azure,Azure Hdinsight,“azure hdinsight cluster create--help”似乎没有任何选项来选择特定版本的hdinsight。是否有API级别的支持?cli无法指定版本。能否使用Windows Azure PowerShell?cli使用的值在中硬编码为“默认值” 虽然不是一个很好的长期解决方案,但您可以在工作站上编辑此文件。默认安装将把它放在/usr/local/lib/node_modules/azure cli/node_modules/azure/lib/services/hdinsi

“azure hdinsight cluster create--help”似乎没有任何选项来选择特定版本的hdinsight。是否有API级别的支持?

cli无法指定版本。能否使用Windows Azure PowerShell?

cli使用的值在中硬编码为“默认值”

虽然不是一个很好的长期解决方案,但您可以在工作站上编辑此文件。默认安装将把它放在
/usr/local/lib/node_modules/azure cli/node_modules/azure/lib/services/hdinsight/hdinsightservice.js


将第122行更改为:
Version:'3.0'
而不是
Version:'default'
,它应该创建一个版本3.0集群。

您正在引用的命令现在支持
--Version
参数。请尝试,或通过运行以下命令查看此参数和其他参数:

azure hdinsight cluster create --help

工作完美。但是,您如何选择,例如,何时--3.5版可能意味着spark 1.6或spark 2.0?