【发布时间】:2017-11-13 14:35:53
【问题描述】:
我使用 Microsoft Azure 并订阅了 HDInsight,它的位置在日本。几天前,我错误地删除了所有使用过的虚拟机,并决定使用 vhdl 文件恢复虚拟机。但是,我改变主意创建新的虚拟机而不是恢复它们。我成功地完成了新 VM 的安装,并安装了 Hadoop 和 Spark,并且很好地使用了它们。然而,几天后,当我启动我的虚拟机时,它的开启速度异常缓慢,最终它抛出错误,指示以下消息。
配置失败。分配失败。请尝试减少虚拟机 VM 的大小或数量,稍后重试,或尝试部署到不同的 可用性集或不同的 Azure 位置。分配失败。
我尝试按照 Azure 中的文档更改 VM 大小并删除我创建的 VM,但删除或更改 VM 失败并抛出以下消息。
Provisioning failed. Delete/Deallocate operation on VM 'hadoop-master' failed because the remaining VMs in the Availability Set 'spark-avs' cannot be allocated together. Changes in Availability Set allocation need to be executed atomically. Please deallocate or delete some or all of these VMs before retrying the current operation.
Please note that this VM is not allocated and won't accrue any charges.
Details: {
"resourceType": "Microsoft.WindowsAzure.ComputeResourceProvider.Core.Strings, CRP.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
"ResourceCode": "ComputeAllocationFailure",
"ResourceParameters": []
}. CannotAllocateRemainingVMsInAvailabilitySet
请注意,我重新安装的所有 VM 都在同一个可用性集中,并且我为新区域选择了韩国(之前的区域是日本)。
我尝试启动很多次,但都失败了。
如何解决这个问题?
【问题讨论】:
标签: azure azure-hdinsight