[ 
https://issues.apache.org/jira/browse/AIRFLOW-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784257#comment-16784257
 ] 

ASF subversion and git services commented on AIRFLOW-3250:
----------------------------------------------------------

Commit 5f4558e2143c9bf74263f417fd77c53c2b9ca994 in airflow's branch 
refs/heads/v1-10-stable from Paweł Graczyk
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=5f4558e ]

[AIRFLOW-3250] Fix for Redis Hook for not authorised connection calls (#4090)

Password stay None value and not None (str) in case there is no password set 
through webadmin interfaces.
This is fix for connections for Redis that not expect autorisation from clients.

> Fix for Redis Hook for not authorised connection calls.
> -------------------------------------------------------
>
>                 Key: AIRFLOW-3250
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3250
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: db
>    Affects Versions: 1.9.0, 1.10.0, 1.10.1
>            Reporter: Pawel Graczyk
>            Assignee: Pawel Graczyk
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Current implementation of AIRFLOW-999 needs fixes.
> 1. Password stays None and not 'None' (str) in case there is no password set, 
> otherwise AUTH call will be send and that produces errors on connection to 
> Redis that does not expect authorisation calls.
>  2. Reference to connection is set on get_conn hook object method rather than 
> on __init__
>  3. Trivial method key_exists of hook object removed
>  4. Fixes for unit tests so it deal with hook code and not related 
> dependencies such as Redis and DB connections. 



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

Reply via email to