OnDemandSparkHDInsight

OnDemandSparkHDInsight

本文介绍了无法使用Data Factory创建OnDemandSparkHDInsight群集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上我正在尝试使用Azure Data Factory V2创建OnDemandSparkHDInsight集群,我正在使用PowerShell来实现这一点。

Actually I am trying to create OnDemandSparkHDInsight cluster using Azure Data Factory V2 and I am using PowerShell to do that.

我已成功创建了链接服务但是调用管道来创建OnDemandSparkHDInsight集群 它给出了一个错误,如

I have successfully created linked services but while invoking pipeline to create OnDemandSparkHDInsight cluster it has given an error like

活动错误部分:

"错误代码":"" 2328"

" message"" AuthorizationFailed:客户端'some_id',对象ID为'some_id',无权执行操作'Microsoft.HDInsight / clusters / write 'over scope'/subscriptions/Subscription_id/resourceGroups/resource_group_name/providers/Microsoft.HDInsight/clusters/SparkSample0b124fe9-0247-4006-aebc-389112c9a15​​5'."
$
" failureType":" UserError" ; $
" target":" SparkOnDemandActivity"

Activity Error section:
"error Code": "2328"
"message": "AuthorizationFailed: The client 'some_id' with object id 'some_id' does not have authorization to perform action 'Microsoft.HDInsight/clusters/write' over scope '/subscriptions/Subscription_id/resourceGroups/resource_group_name/providers/Microsoft.HDInsight/clusters/SparkSample0b124fe9-0247-4006-aebc-389112c9a155'."
"failureType": "UserError"
"target": "SparkOnDemandActivity"

请帮我解决这个问题?

谢谢

推荐答案

如果是服务原则未设为贡献者。 你可以按照这个
为此 

We will run into this if the service principle is not set as contributor .  You can follow thisarticle for that 





这篇关于无法使用Data Factory创建OnDemandSparkHDInsight群集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 13:39