[
https://issues.apache.org/jira/browse/AIRFLOW-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773230#comment-16773230
]
ASF subversion and git services commented on AIRFLOW-1215:
----------------------------------------------------------
Commit 14fa7ba65cd637577d944de5ae7aa6e2028e3c21 in airflow's branch
refs/heads/v1-10-stable from Kamil BreguĊa
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=14fa7ba ]
[AIRFLOW-3616][AIRFLOW-1215] Add aliases for schema with underscore (#4523)
> 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: cli, configuration, db
> Affects Versions: 1.8.0
> Reporter: Zahid Saleem
> Assignee: Kamil Bregula
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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)