David Howell created AIRFLOW-1530:
-------------------------------------
Summary: Adding a connection to Airflow via command line for
hive_cli fails
Key: AIRFLOW-1530
URL: https://issues.apache.org/jira/browse/AIRFLOW-1530
Project: Apache Airflow
Issue Type: Bug
Components: models
Affects Versions: 1.8.2
Reporter: David Howell
Priority: Minor
The urlparse method from urllib cannot extract the conn_type from a url passed
via the airflow cli when that conn_type contains an underscore.
Specifically, adding a connection via the cli for the `hive_cli` type always
fails. It can only be added via the UI.
e.g. This always fails:
{code:bash}
airflow connections -a --conn_uri hive_cli://something/something
{code}
See this for details:
https://stackoverflow.com/questions/43999708/adding-a-connection-to-airflow-via-command-line-for-hive-cli-fails/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)