U-SQL 作业在数据工厂中失败
U-SQL Job Failing in Data Factory
每当我 运行 一个 U-SQL Job
时,我总是从数据工厂收到以下错误
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.
而且我没有按照 post 中的建议使用任何防火墙:
我正在使用 Azure Data Lake Store 服务主体身份验证。当我从 Visual Studio 开始工作时,它也工作正常。
如有任何想法,我将不胜感激...
谢谢
听起来像是权限问题。您可以 运行 这个 powershell 脚本来确保您已将适当的权限应用到安全主体:
Login-AzureRmAccount
$appname = “adla”
$dataLakeStoreName = “yourdatalakename”
$app = Get-AzureRmADApplication -DisplayName $appname
$servicePrincipal = Get-AzureRmADServicePrincipal -SearchString $appname
Set-AzureRmDataLakeStoreItemAclEntry -AccountName $dataLakeStoreName -Path / -AceType User -Id $servicePrincipal.Id -Permissions All
Set-AzureRmDataLakeStoreItemAclEntry -AccountName $dataLakeStoreName -Path /system -AceType User -Id $servicePrincipal.Id -Permissions All
如果您想使用 powershell 脚本从头开始创建所有内容,这里有一个博客可以帮助您:
http://dyor.com/setting-up-an-azure-data-lake-and-azure-data-factory-using-powershell/
如果您使用服务主体从 Azure 数据工厂授权 Azure Data Lake Analytics 链接服务,这可能是您的问题。
我有一张 Microsoft 的优秀支持票,因为服务主体身份验证方法仅适用于简单的数据工厂活动,如 'copy'。如果您想验证 'DotNotActivity'.
等复杂活动,它 不起作用
我的建议是将链接服务更改回使用会话和令牌身份验证,然后部署您的活动并重试。
希望对您有所帮助。
每当我 运行 一个 U-SQL Job
时,我总是从数据工厂收到以下错误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.
而且我没有按照 post 中的建议使用任何防火墙:
我正在使用 Azure Data Lake Store 服务主体身份验证。当我从 Visual Studio 开始工作时,它也工作正常。
如有任何想法,我将不胜感激...
谢谢
听起来像是权限问题。您可以 运行 这个 powershell 脚本来确保您已将适当的权限应用到安全主体:
Login-AzureRmAccount
$appname = “adla”
$dataLakeStoreName = “yourdatalakename”
$app = Get-AzureRmADApplication -DisplayName $appname
$servicePrincipal = Get-AzureRmADServicePrincipal -SearchString $appname
Set-AzureRmDataLakeStoreItemAclEntry -AccountName $dataLakeStoreName -Path / -AceType User -Id $servicePrincipal.Id -Permissions All
Set-AzureRmDataLakeStoreItemAclEntry -AccountName $dataLakeStoreName -Path /system -AceType User -Id $servicePrincipal.Id -Permissions All
如果您想使用 powershell 脚本从头开始创建所有内容,这里有一个博客可以帮助您:
http://dyor.com/setting-up-an-azure-data-lake-and-azure-data-factory-using-powershell/
如果您使用服务主体从 Azure 数据工厂授权 Azure Data Lake Analytics 链接服务,这可能是您的问题。
我有一张 Microsoft 的优秀支持票,因为服务主体身份验证方法仅适用于简单的数据工厂活动,如 'copy'。如果您想验证 'DotNotActivity'.
等复杂活动,它 不起作用我的建议是将链接服务更改回使用会话和令牌身份验证,然后部署您的活动并重试。
希望对您有所帮助。