2014-03-05 27 views

回答

0

cli無法指定版本。你可以使用Windows Azure PowerShell嗎?

0

cli使用的值在hdinsightservice.jsazure-sdk-for-node中硬編碼爲'default'。

雖然不是一個很好的長期解決方案,但您可以在工作站上編輯此文件。默認安裝將把它放在/usr/local/lib/node_modules/azure-cli/node_modules/azure/lib/services/hdinsight/hdinsightservice.js

將第122行更改爲:Version : '3.0'而不是Version : 'default'並且它應該創建一個3.0版羣集。

1

您現在引用的命令現在支持--version參數。試試看,或通過運行這個查看這個和其他參數:

azure hdinsight cluster create --help 
+0

完美的作品。但你如何選擇當 - 版本3.5可能意味着火花1.6或火花2.0? – Roelant

相關問題