Enable Drill Impersonation without Hive
About this task
Chaining is a system-wide setting that applies to all views. Currently, Drill does not provide an option to allow different chain lengths for different views. Complete the following steps on each Drillbit node to enable user impersonation, and set the maximum number of chained user hops that Drill allows:
Procedure
-
Navigate to
<drill_installation_directory>/conf/
and editdrill-override.conf
file. -
Under
drill.exe
, add the following:drill.exec.impersonation: { enabled: true, max_chained_user_hops: 3 }
- Verify that enabled is set to 'true'.
- Set the maximum number of chained user hops that you want Drill to allow.
-
Add the following line to the drill-env.sh file:
export MAPR_TICKETFILE_LOCATION=/opt/mapr/conf/mapruserticket
-
Restart the Drillbit process on each Drill node.
<DRILLINSTALL_HOME>/bin/drillbit.sh restart