[
https://issues.apache.org/jira/browse/CRUNCH-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13787195#comment-13787195
]
Chao Shi commented on CRUNCH-273:
---------------------------------
Hi Josh,
I think RUNNING status should be set at entrace in monitorLoop, as there would
be a rare race condition in MRExecutor#execute. +1 otherwise.
> 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)