About the transform operation
transform.sh to transform Ranger HDFS policies to Ranger AWS S3
policies and replace policy field’s value as per the target environment.
transform.shscript performs the following tasks:
env.shfile and loads the input parameters values
- Checks Java versions
- Creates provided system user and group
- Provides ownership to the above created system user on install files and folders
- Update given parameters values to ranger-policymigration-site.xml
- Exports JAVA_OPTS and adds required options in the environment.
- Can call the Ranger PolicyMigration jar/code for convert/transform as requested