You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2016/05/23 19:38:12 UTC

[jira] [Commented] (AIRFLOW-161) Redirection to external url

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

Chris Riccomini commented on AIRFLOW-161:
-----------------------------------------

What context is this under? You mean like you want to use the EmailOperator or SlackOperator to notify people to download a file that's been created as part of the DAG?

We do this using XCom+EmailOperator. XCom variables can be accessed via templates. We store the file in a blob store (like S3). The file location is stored in XCom, which the EmailOperator references when it sends the email.

> Redirection to external url
> ---------------------------
>
>                 Key: AIRFLOW-161
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-161
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>            Reporter: Sumit Maheshwari
>
> Hi,
> I am not able to find a good way (apart from loading everything upfront), where I can redirect someone to a external service url, using the information stored in airflow. There could be many use cases like downloading a signed file from s3, redirecting to hadoop job tracker, or a direct case on which I am working which is linking airflow tasks to qubole commands. 
> I already have a working model and will open a PR soon. Please let me know if there existing ways already.
> Thanks,
> Sumit



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)