About the transform operation
Call transform.sh
to transform Ranger HDFS policies to Ranger AWS S3
policies and replace policy field’s value as per the target environment.
The
transform.sh
script performs the following tasks:- Reads
env.sh
file 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