Configure Sentry and Impala for File-based Storage Mode
About this task
For Impala to work with Sentry, follow these steps:
Procedure
-
Edit the
env.sh
file located at/opt/mapr/impala/impala-<version>/conf/env.sh
and add these two lines afterIMPALA_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:///'
. - Restart impalaserver, impalastore, and impalacatalog.