crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-273) Have PipelineExecution implement ListenableFuture
Date Thu, 03 Oct 2013 16:32:42 GMT

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

Josh Wills updated CRUNCH-273:
------------------------------

    Attachment: CRUNCH-273.patch

Here's a cut at this. [~stepinto] would you mind taking a look?

> Have PipelineExecution implement ListenableFuture
> -------------------------------------------------
>
>                 Key: CRUNCH-273
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-273
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: CRUNCH-273.patch
>
>
> When running pipelines from the client asynchronously, it would be nice to be able to
add some callbacks that would execute when the pipeline of jobs finishes. It seems to me that
the best way to do that is to have the PipelineExecution interface extend ListenableFuture<PipelineResult>,
which supports adding (Runnable, Executor) methods that are executed at the end of a pipeline
run.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message