每当我运行 U-SQL 作业时,我都会从数据工厂收到以下错误
Job submission failed, the user 'adla account name' does not have permissions to a subfolder in the /system/ path needed by Data Lake Analytics. Please run “Add User Wizard” from the Data Lake Analytics Azure Portal or use Azure PowerShell to grant access for the user to the /system/ and its children on the Data Lake Store.
而且我没有按照这篇文章中的建议使用任何防火墙:
Run U-SQL Script from C# code with Azure Data Factory
我正在使用 Azure Data Lake Store 服务主体身份验证。当我从 Visual Studio 启 Action 业时,它也工作正常。
如果有任何想法,我将不胜感激......
谢谢
最佳答案
如果您使用服务主体从 Azure 数据工厂授权 Azure Data Lake Analytics 链接服务,则可能会出现问题。
我收到了 Microsoft 的杰出支持票,因为服务主体身份验证方法仅适用于简单的数据工厂事件,例如“复制”。如果您想验证“DotNotActivity”等复杂事件,它不起作用。
我的建议是将链接服务更改回使用 session 和 token 身份验证,然后部署您的事件并重试。
希望这有帮助。
关于azure - 数据工厂中的 U-SQL 作业失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44925343/