You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kamil Bregula (JIRA)" <ji...@apache.org> on 2019/02/08 10:59:00 UTC
[jira] [Commented] (AIRFLOW-1215) Adding 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:comment-tabpanel&focusedCommentId=16763499#comment-16763499 ]
Kamil Bregula commented on AIRFLOW-1215:
----------------------------------------
Duplicate: https://issues.apache.org/jira/browse/AIRFLOW-3616
> Adding 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
> Priority: Minor
>
> 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)