When the HDInsight cluster uses an ADLS Gen2 storage resource, grant permission to the storage for Informatica users.
Run Scripts to Automate Permissions Setting
ADLS Gen2 does not support recursive permissions, so you must set permissions on directories and files individually through the command line. To make permission setting easier, Informatica provides scripts that you can download, customize and run. You can also set permissions manually.
To use the scripts, download and uncompress the
script .zip archive from the Informatica Knowledge Base. Follow the instructions in the archive Readme file to grant access to Informatica users, and then run the scripts on a Windows machine.
Perform Manual Steps to Set Permissions
In addition to the readme file, the script archive contains a file titled Folders_provided_permission.docx. Page 1 of this file contains a list of twenty-one directories from (a.) to (v.) and the permissions that the script grants to each directory.
Before running the script, manually create the following directories listed under (e.) and (f.) on the list:
/blaze
/blaze/workdir
After running the script, perform the following additional steps, which are also listed at the bottom of page 1 of the Folders_provided_permission.docx file:
Grant read and execute permissions on the blob container root directory where the ADLS Gen2 account resides.
Add read, write and execute permissions for Access and Default permissions on the Spark staging directory specified in the Hadoop connection for the Spark impersonation user.