【问题标题】:PreClusterCreationValidationFailure when trying to create a cluster through the Azure Powershell尝试通过 Azure Powershell 创建集群时出现 PreClusterCreationValidationFailure
【发布时间】:2015-04-12 04:40:36
【问题描述】:

我目前正在与Windows Azure 合作,以便按照here 中的步骤设置并运行集群。但是当我尝试执行command 时,我得到了这个错误:

New-AzureHDInsightCluster : Unable to complete the cluster create operation left behind state: 'Error'. Message: 'PreClusterCreationValidationFailure'.

我查看了this,但我对它有点困惑。输入值在其中意味着什么?是ClusterSizeInNodes 吗?并且是否可能由于已存在相同的集群名称而发生此错误?

任何帮助将不胜感激。

【问题讨论】:

    标签: azure azure-storage azure-hdinsight azure-powershell


    【解决方案1】:

    如果您提供的参数彼此不兼容,例如请求一个数据中心区域中的集群并指向另一个区域中的默认存储容器,有时您会看到 PreClusterCreationValidationFailure 消息。

    如果情况并非如此,请提供有关您提供的具体论点的更多详细信息。

    【讨论】:

    • 谢谢,我修好了。这是由于container name,我把它作为“mycontainer”。然后我把它改成了其他的。
    • 我提供了正确的值,但仍然无法完成集群创建操作。操作失败,代码为“400”。集群遗留状态:“错误”。消息:'PreClusterCreationValidationFailure'。在 line:1 char:1 + New-AzureHDInsightCluster -Config $conf -Credential $creds -Name $clusterName -L + CategoryInfo : NotSpecified: (:) [New-AzureHDInsightCluster], HDInsightClusterCreateException + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.HDInsight .HDInsightClusterCreateException,Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.PSCmdlets.NewAzureHDInsightClusterCmdlet
    • @Vinu,您的问题可能与原始问题不同。您能否发布一个新问题,并包含您传递给 New-AzureHDInsightCluster 的任何参数的详细信息?
    【解决方案2】:

    您是否检查过您的用户凭据 (-Credential <PSCredential>) 是否符合“要求”?不幸的是,它们的文档记录不是很好......

    • 用户名:admin
    • 密码:[min. 10 characters](至少 1 个大写字母、1 个小写字母、1 个数字和 1 个特殊字符)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-06-17
      • 2018-09-29
      • 2019-03-21
      • 2022-10-24
      • 2018-04-28
      • 2020-09-28
      • 1970-01-01
      • 2019-01-14
      相关资源
      最近更新 更多