[ https://issues.apache.org/jira/browse/CRUNCH-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589123#comment-13589123
]
Chao Shi commented on CRUNCH-156:
---------------------------------
When I'm using the new interface for my prototype, I feel weird that caller has to catch InterruptedException
and ExectuionException (which are thrown by Future#get) as well as check PipelineResult. In
fact, Pipeline#run throws no exceptions.
In short, the problem is that cancelation is reported as exceptions but failures are error
code. I think it would be nice to have a unified approach.
> Allow support for killing MRPipelines
> -------------------------------------
>
> Key: CRUNCH-156
> URL: https://issues.apache.org/jira/browse/CRUNCH-156
> Project: Crunch
> Issue Type: New Feature
> Components: Core
> Affects Versions: 0.4.0
> Reporter: Bryan Peterson
> Assignee: Josh Wills
> Labels: newbie
> Fix For: 0.6.0
>
> Attachments: CRUNCH-156.patch, CRUNCH-156-t2.patch, CRUNCH-156-t3.patch
>
>
> When running a crunch pipeline, one should be able to kill a plan and currently running
jobs associated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|