You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2018/08/09 09:25:00 UTC
[jira] [Resolved] (AIRFLOW-1530) Adding a connection to Airflow via
command line for hive_cli fails
[ https://issues.apache.org/jira/browse/AIRFLOW-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor resolved AIRFLOW-1530.
----------------------------------------
Resolution: Fixed
Fixed by added extra args to the connections cli {{--conn_type}}, {{--conn_host}}, {{--conn-login}}, {{--conn-password}}, {{--conn_schema}}, and {{--conn_port}}
> 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
(v7.6.3#76005)