You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/17 20:04:01 UTC

[jira] [Updated] (AIRFLOW-1215) Add Airflow Connections via command line for schemes with underscore fail to be added successfully

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

Aizhamal Nurmamat kyzy updated AIRFLOW-1215:
--------------------------------------------
    Component/s:     (was: db)
                     (was: configuration)
                     (was: cli)
                 database

> Add Airflow Connections via command line for schemes with underscore fail to be added successfully
> --------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1215
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1215
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: database
>    Affects Versions: 1.8.0
>            Reporter: Zahid Saleem
>            Assignee: Kamil Bregula
>            Priority: Minor
>             Fix For: 1.10.3
>
>
> Automating the airflow install with command line to add conenctions fails to add the connection successfully if the uri contains underscores in the scheme.
> running the command 
> airflow connections -a --conn_id MY_HIVE_CONN --conn_uri hive_metastore://username@hiveserver:9083/default
> Reports success in the command line but the UI->Admin->Configuration shows the parameters as incorrect when editing the connection.
> Further analysis shows that the urlparse (urllibs Python 2.7) method used to determine the connection parameters is unable to resolve scheme that includes underscores.



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