Configure Sentry and Impala for File-based Storage Mode

For Impala to work with Sentry, follow these steps:

  1. Edit the env.sh file located at /opt/mapr/impala/impala-<version>/conf/env.sh and add these two lines after IMPALA_SERVER_ARGS=" \:
    -server_name=HS2 \
    -authorization_policy_file=file:///opt/mapr/sentry/sentry-<version>/conf/<file-name>.ini \
    Note: If <file-name>.ini is stored at MapR-FS, the URL should start with 'maprfs:///'.
  2. Restart impalaserver, impalastore, and impalacatalog.