[
https://issues.apache.org/jira/browse/AIRFLOW-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16227301#comment-16227301
]
Ace Haidrey commented on AIRFLOW-788:
-------------------------------------
Should we add an option in the HiveOperator to pass this or not?
> Context unexpectedly added to hive conf
> ---------------------------------------
>
> Key: AIRFLOW-788
> URL: https://issues.apache.org/jira/browse/AIRFLOW-788
> Project: Apache Airflow
> Issue Type: Bug
> Components: hive_hooks
> Reporter: Bolke de Bruin
> Fix For: 1.9.0
>
>
> If specifying hive_conf to run_cli extra variables are added from the
> context, e.g. airflow.ctx.dag.dag_id .
> In secured environments this can raise the need for a configuration change as
> these variables might not be whitelisted.
> Secondly one could regard it as information leakage, as its is added without
> the user's consent.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)