crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-273) Have PipelineExecution implement ListenableFuture
Date Sat, 05 Oct 2013 12:47:42 GMT


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:
>             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

This message was sent by Atlassian JIRA

View raw message