airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Howell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1530) Adding a connection to Airflow via command line for hive_cli fails
Date Thu, 24 Aug 2017 05:06:00 GMT

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

David Howell updated AIRFLOW-1530:
----------------------------------
    Description: 
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:java}
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/


  was:
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/



> 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:java}
> 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)

Mime
View raw message