Configuring a HiveCliHook

Describes the properties that must be added to configure a HiveCliHook for Airflow on a secure cluster.

The HiveCliHook is a simple wrapper around the Hive CLI. To configure the HiveCliHook for Airflow:
  1. Use the following connection properties:
    Property Value
    use_beeline true
    auth maprsasl
    ssl true
  2. Add the following property to the hive-site.xml file:
    <property>
        <name>hive.security.authorization.sqlstd.confwhitelist.append</name>
        <value>mapred.job.name|airflow.ctx.*</value>
    </property>