[ 
https://issues.apache.org/jira/browse/AIRFLOW-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yu Liu reassigned AIRFLOW-3952:
-------------------------------

    Assignee:     (was: Yu Liu)

> wrong format of the beeline hiveconf parameters in hive_hooks.py
> ----------------------------------------------------------------
>
>                 Key: AIRFLOW-3952
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3952
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: 1.8.0, 1.8.0b2, 1.8.0b3, 1.8.0b5, 1.8.0rc2, 1.8.0rc3, 
> 1.8.0rc4, 1.8.1rc0, 1.8.1, 1.8.2, 1.9.0, 1.10.0, 1.10.1, 1.10.2
>            Reporter: Yu Liu
>            Priority: Major
>         Attachments: changed_all__-hiveconf__to__--hiveconf__.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> Problem:
> The support to beeline cli parameters was introduced from 1.8.0, but the 
> format of "hiveconf" was wrong.
> Fix:
> "\-hiveconf" should be "\-\-hiveconf".
> Reasons:
> According to the Hive Beeline source code 
> ([link|https://github.com/apache/hive/blob/master/beeline/src/java/org/apache/hive/beeline/BeeLine.java]),
> {code:java}
> private static final String HIVE_CONF_PREFIX = "--hiveconf";
> {code}
> only "\-\-hiveconf" can be accepted. Parameters come with "\-hiveconf" are 
> omitted.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to