Skip to content

Deploy Custom Build for Trino

This section explains how to deploy a custom code build of the Privacera Trino plugin to your cluster.

Steps to Deploy Custom Build

  1. For setup instructions, refer Setup for Access Management for Trino and complete the steps up to Create Entrypoint.sh Script

  2. Navigate to the privacera-trino-plugin directory

    Bash
    cd ~/privacera-trino-plugin
    

  3. Update the following property in the privacera_trino_setup.sh script:

    Bash
    export PRIVACERA_BASE_DOWNLOAD_URL=<CUSTOM_PRIVACERA_TRINO_BUILD_URL>
    

  4. After updating the custom build URL, returns to Setup for Access Management for Trino and continue from the Create Entrypoint.sh Script step onward.

Verification

  • To verify that the Privacera Trino plugin from the custom build is installed correctly, check the plugin version file
    Bash
    cat /home/trino/privacera/privacera-trino-plugin/privacera_version.txt
    
  • The privacera_version.txt file should contain the version information that corresponds to your custom build.