如果我想向ADLA帐户提交U-SQL
脚本,我可以使用下面的powershell
cmdlet。
`
Submit-AzureRmDataLakeAnalyticsJob -Account $adlaAccountName -ScriptPath $USQLFile -Name $folder -DegreeOfParallelism $degreeOfParallelism -Verbose`
但是,我无法针对本地ADLA帐户提交脚本。我收到了错误:
Submit-AzureRmDataLakeAnalyticsJob : Run Login-AzureRmAccount to login.
At line:1 char:1
+ Submit-AzureRmDataLakeAnalyticsJob -Account "local" -ScriptPath GetIn ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Submit-AzureRmDataLakeAnalyticsJob], PSInvalidOperationExceptio
n
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.Azure.Commands.DataLakeAnalytics.SubmitAzureDataLakeAnalyti
csJob
如何针对本地ADLA帐户提交U-SQL脚本?
答案 0 :(得分:2)
除了ADL Tools之外,我们还发布了独立的SDK。
https://www.nuget.org/packages/Microsoft.Azure.DataLake.USQL.SDK
并在此处记录:
非常感谢, 于东