[英]Fail to create in-demand hadoop cluster in Azure Data Factory; additionalProperties is not active
It's my first time trying out the Azure data factory so I hope this is not a bad question to ask. 这是我第一次尝试Azure数据工厂,所以我希望这不是一个坏问题。
So I'm using the Azure portal trying to create an on-demand hadoop cluster as one of the linked service in Azure Data Factory following the steps in the tutorial . 因此,我正在使用Azure门户,按照教程中的步骤尝试将按需hadoop集群创建为Azure Data Factory中的链接服务之一。
But whenever I click create, the following error message pops up. 但是,每当我单击“创建”时,都会弹出以下错误消息。
Failed to save HDinisghtLinkedService.
保存HDinisghtLinkedService失败。 Error: An additional property 'subnetName' has been specified but additionalProperties is not active.The relevant property is 'HDInsightOnDemandLinkedServiceTypeProperties'.The error occurred at the location 'body/properties/typeProperties' in the request.;An additional property 'virtualNetworkId' has been specified but additionalProperties is not active.The relevant property is 'HDInsightOnDemandLinkedServiceTypeProperties'.The error occurred at the location 'body/properties/typeProperties' in the request.
错误:已指定了一个附加属性'subnetName'但附加属性未激活。相关属性为'HDInsightOnDemandLinkedServiceTypeProperties'。错误发生在请求中的'body / properties / typeProperties'位置。附加属性'virtualNetworkId'具有已指定但未激活extraProperties。相关属性为“ HDInsightOnDemandLinkedServiceTypeProperties”。错误发生在请求中的“ body / properties / typeProperties”位置。
I couldn't understand why it requires the 'subnetName' and 'virtualNetworkId'. 我不明白为什么它需要'subnetName'和'virtualNetworkId'。 But I tried putting values under Advanced Properties -> Chose Vnet and Subnet -> From Azure subscription -> and put in the existing vitrual network ID and subnet name .
但是我尝试将值放在“ 高级属性”->“选择Vnet和子网”->“来自Azure订阅”->下,并放入现有的虚拟网络ID和子网名称 。 But the problem still present and the same error message shows up.
但是问题仍然存在,并且显示相同的错误消息。
Other background information: 其他背景信息:
For the tutorial I posted above, I did not use its powershell code. 对于上面发布的教程,我没有使用它的powershell代码。 I have existing resource group and created a new storage account on the Azure portal.
我已经有资源组,并在Azure门户上创建了一个新的存储帐户。 I also created a new app registration in Azure Active Directory and retrieve principal service application ID and authentication key following this link
我还在Azure Active Directory中创建了新的应用程序注册,并在此链接之后检索了主体服务应用程序ID和身份验证密钥
Some parameters: 一些参数:
Any thoughts or anything I might be doing wrong? 有什么想法或我可能做错了什么吗?
From the error message, it clearly states that “subnetName” is not active, which means it has not created at all. 从错误消息中,它明确指出“ subnetName”未处于活动状态,这意味着它根本没有创建。
Note: If you want to create on-demand cluster within your Vnet, then first create Vnet and Subnet and the pass the following values. 注意:如果要在Vnet中创建按需群集,请首先创建Vnet和Subnet,然后传递以下值。
Advanced Properties are not mandatory to create a on-demand cluster. 高级属性对于创建按需群集不是必需的。
Have you tried created on-demand cluster without passing the Vnet and Subnet? 您是否尝试在不通过Vnet和子网的情况下创建按需群集?
Hope this helps. 希望这可以帮助。 Do let us know if you any further queries.
如果您还有其他疑问,请告诉我们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.