Running the transform operation

You must transform the Ranger policies.

  1. Login to the migration cluster node (or a Data Lake node of the cloud cluster) where you have copied the ranger-<version>-policymigration.tar.gz file. Untar the file and navigate to ranger-<version>-policymigration directory.
  2. Update the “Transform” part of the env.sh file with the right set of values as per your environment.
  3. Transform Ranger policies: Run the transform.sh file.
    1. Syntax: ./transform.sh transform $exported_ranger_policies_file_path $exported_ranger_services_file_path
    2. Example: ./transform.sh transform /tmp/policies.json /tmp/services.json