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:00:00 UTC

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

Chris McLennon created AIRFLOW-2967:
---------------------------------------

             Summary: 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


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)