You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chris McLennon (JIRA)" <ji...@apache.org> on 2018/08/27 19:03:00 UTC

[jira] [Commented] (AIRFLOW-2967) Beeline commands do not have quoted urls

    [ https://issues.apache.org/jira/browse/AIRFLOW-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594105#comment-16594105 ] 

Chris McLennon commented on AIRFLOW-2967:
-----------------------------------------

Actually, nevermind. I just saw this has already been implemented for future release: https://github.com/apache/incubator-airflow/blob/master/airflow/hooks/hive_hooks.py#L139

> Beeline commands do not have quoted urls
> ----------------------------------------
>
>                 Key: AIRFLOW-2967
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2967
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Chris McLennon
>            Assignee: Chris McLennon
>            Priority: Major
>
> When HiveHook uses beeline with kerberos auth, it doesn't quote the connection URL, leading to an error. It should quote the connection URL.
>  
> Example:
> Airflow runs command which fails:
> {code:java}
> beeline -u jdbc:hive2://hiveserver.mycompany.com:10000/default;principal=hive/hiveserver.mycompany.com@MYCOMPANY.COM; -f /tmp/airflow_hiveop_OwZO45/tmpOW_gZ6{code}
> Command should be run as:
> {code:java}
> beeline -u "jdbc:hive2://hiveserver.mycompany.com:10000/default;principal=hive/hiveserver.mycompany.com@MYCOMPANY.COM;" -f /tmp/airflow_hiveop_OwZO45/tmpOW_gZ6{code}



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