无法使用Data Factory创建OnDemandSparkHDInsight群集 [英] Unable to create an OnDemandSparkHDInsight Cluster using Data Factory

查看:76
本文介绍了无法使用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"

请帮我解决这个问题?

谢谢

推荐答案

我相信你已经对此进行了整理,但只是想关闭这个帖子。 

I am sure you have already sorted this out , but just wanted to close this thread . 

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

文章
为此 

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





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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆