New-AzureHDInsightCluster / Get-AzureHDInsightJobStatus错误

时间:2015-08-24 11:04:51

标签: powershell azure hdinsight

由于Azure PowerShell(0.9.7)的更新版本于2015年8月14日发布,因此每当我运行 New-AzureHDInsightCluster Get-时,我都会收到以下错误: AzureHDInsightJobStatus 即可。在安装新版本之前,两者都没有问题。有什么想法吗?

  

验证与' storageacct .blob.core.windows.net'的连接。失败。内   异常:无法加载文件或程序集' Microsoft.WindowsAzure.Storage,Version = 3.0.3.0,Culture = neutral,   公钥= 31bf3856ad364e35'或其中一个依赖项。系统找不到指定的文件。

1 个答案:

答案 0 :(得分:0)

新的PowerShell版本使用Azure资源管理器模式而不是Azure服务模式。有关ARM模式的详细信息,请参阅https://azure.microsoft.com/en-us/documentation/articles/resource-group-overview/https://azure.microsoft.com/en-us/documentation/articles/powershell-azure-resource-manager/

首先,您需要决定使用哪种模式。无论哪种方式,我建议使用以下cmdlet来确认您所处的模式:

Switch-AzureMode AzureResourceManager

以下文章介绍如何使用ARM模式配置群集 https://azure.microsoft.com/en-us/documentation/articles/hdinsight-provision-clusters/#provision-tools