airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1850) Sqoop password is overwritten by reference
Date Wed, 29 Nov 2017 14:06:00 GMT

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

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

Commit 4135c82bf4cd07d5e18a9fabda5d62e27a23ca3f in incubator-airflow's branch refs/heads/master
from [~Fokko]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4135c82 ]

[AIRFLOW-1850] Copy cmd before masking

The cmd is first copied before the password is
masked. This ensures
that the orignal cmd isn't changed. Replacing the
password with a
masked value replaces the password in the original
command since it
is passed by reference.

Closes #2817 from Fokko/AIRFLOW-1850-copy-cmd-
before-replacing-password


> Sqoop password is overwritten by reference
> ------------------------------------------
>
>                 Key: AIRFLOW-1850
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1850
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Fokko Driesprong
>            Assignee: Fokko Driesprong
>
> The sqoop operator masks the password so it does not appear in the logs. This is good,
but the password itself is overwritten since the map is passed by reference.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message