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/17 18:48:00 UTC

[jira] [Resolved] (AIRFLOW-2913) Check bucket_key and bucket_name combination in S3KeySensor()

     [ https://issues.apache.org/jira/browse/AIRFLOW-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor resolved AIRFLOW-2913.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> Check bucket_key and bucket_name combination in S3KeySensor()
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-2913
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2913
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>            Reporter: Xiaodong DENG
>            Assignee: Xiaodong DENG
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> 1. When *bucket_name* is provided, and *bucket_key* is also provided as a full S3:// url, the full_url obtained eventually will be wrong. It will be like "_s3://bucket_name/s3://bucket_name/object_key_". This should be avoided by adding checking and raise exception in such case.
> 2. Given the documentation is not clear enough, this may happen to new users of S3KeySensor() (like myself). I have improved the Documentation as well.
> 3. Unit tests are added for the bucket_key and bucket_name combination checking as well.



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