airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris McLennon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2967) Beeline commands do not have quoted urls
Date Mon, 27 Aug 2018 19:00:00 GMT
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)

Mime
View raw message