Skip to content

Enable Distributor Plugin Support for EMR OLAC

The Distributor Plugin is a utility that is used to distribute JWT and Privacera Tokens from Spark Driver to the Executors. It is only supported for EMR OLAC Deployment using JWT.

Prerequisites

Make sure JWT Authentication is configured. Refer JWT Auth Configuration

  1. SSH to the instance where Privacera is installed.
  2. Run the following command to navigate to the /custom-vars directory.
    Bash
    cd ~/privacera/privacera-manager/config/custom-vars 
    
  3. Edit the vars.emr.yml file
    Bash
    vi vars.emr.yml 
    
  4. Uncomment the below-mentioned flag to set its value to true.
    Bash
    EMR_SPARK_PRIVACERA_DISTRIBUTOR_PLUGIN_ENABLE: "true"
    
  5. Once the properties are updated, run below command to generate the plugin configurations:
    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh post-install
    
  6. Follow the steps given here to deploy the EMR Cluster with changes.