gpt4 book ai didi

azure - 在 HDInsight 中添加 Azure 政府存储帐户

转载 作者:行者123 更新时间:2023-12-02 07:08:41 25 4
gpt4 key购买 nike

我在 Azure 政府中有一个 HDInsight 群集,并且想要添加驻留在 Azure 政府中的额外存储帐户。我尝试通过门户的脚本操作> + 提交新内容> 添加 Azure 存储帐户 并提供我的 Azure 政府存储帐户的名称和 key 来执行此操作。此操作失败并显示错误(来自 /var/lib/ambari-agent/data/output-XXXX.txt 中集群的输出文件):

Key encryption is enabled STORAGE ACCOUNT IS: testgovwebiaasdiag
Validate storage account creds: Invalid Credentials provided for
storage account ('Start downloading script locally: ',

u'https://hdiconfigactions.blob.core.windows.net/linuxaddstorageaccountv01/add-storage-account-v01.sh')
Fromdos line ending conversion successful ('Unexpected error:',
"('Execution of custom script failed with exit code', 139)")

查看“Add additional storage accounts to HDInsight”的文档”,没有迹象表明 this script支持 Azure 政府。建议的前进道路是什么?我应该下载脚本并修改它吗?如果是,需要进行哪些修改才能支持 Azure Government?

最佳答案

目前,开箱即用的“向 HDInsight 添加其他存储帐户”脚本不支持 Azure 政府

这是因为它不允许为 different Azure Government endpoints 设置存储端点.

我创建了 this script它支持 Azure 政府。它是开箱即用版本的修改版本,用 Azure 政府的端点覆盖端点。

您可以通过脚本操作> + 提交新内容> - 自定义使用此脚本,并在Bash 脚本 URI 中提供此 URI。然后,您可以提供相同的参数、存储帐户名称和存储帐户 key 并运行脚本。

要在开箱即用的脚本中获得对 Azure 政府的支持,请在 Azure Government feedback forum 中为此投票。 :<强>Support for Azure Government storage accounts in HDInsight

关于azure - 在 HDInsight 中添加 Azure 政府存储帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50475333/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com