Script paths into Azure Data Factory DataLakeAnalytics u-sql pipeline -


i'm trying publish data factory solution adf datalakeanalyticsu-sql pipeline activity following azure step step doc (https://docs.microsoft.com/en-us/azure/data-factory/data-factory-usql-activity).

 {     "type": "datalakeanalyticsu-sql",     "typeproperties": {       "scriptpath": "\\scripts\\111_risk_index.usql",       "scriptlinkedservice": "premiumazuredatalakestorelinkedservice",       "degreeofparallelism": 3,       "priority": 100,       "parameters": {         "in": "/df_input/consodata_prelios_consegna_230617.txt",         "out": "/df_output/111_analytics.txt"       }     },     "inputs": [       {         "name": "premiumdatalakestorelocation"       }     ],     "outputs": [       {         "name": "premiumdatalakestorelocation"       }     ],      "policy": {       "timeout": "06:00:00",       "concurrency": 1,       "executionpriorityorder": "newestfirst",       "retry": 1     },     "scheduler": {       "frequency": "minute",       "interval": 15     },     "name": "consodatafilesprocessing",     "linkedservicename": "premiumazuredatalakeanalyticslinkedservice"   } 

during publishing got error:

25/07/2017 18:51:59- publishing project 'premium.datafactory'.... 25/07/2017 18:51:59- validating 6 json files 25/07/2017 18:52:15- publishing project 'premium.datafactory' data  factory 'premium-df' 25/07/2017 18:52:15- value cannot null. parameter name: value 

trying figure wrong project came issues reside activity options "typeproperties" shown above, scriptpath , scriptlinkedservice attributes. doc says:

scriptpath: path folder contains u-sql script. name of file  case-sensitive.   scriptlinkedservice: linked service links storage contains  script data factory 

publishing project without them (using hardcoded script) complete successfully. problem can't either figure out put them. tried several combinations paths. thing know script file must referenced locally solution dependency.

someone can me this?

thank in advance.

the script linked service needs blob storage, not data lake storage.

ignore publishing error, misleading.

have linked service in solution azure storage account, referred in 'scriptlinkedservice' attribute. in 'scriptpath' attribute reference blob container + path.

for example:

"typeproperties": {   "scriptpath": "datafactorysupportingfiles/createdimensions - daily.usql",   "scriptlinkedservice": "blobstore",   "degreeofparallelism": 2,   "priority": 7 }, 

hope helps.

ps. double check case sensitivity on attribute names. can throw unhelpful errors.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -