You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Severin Hacker (JIRA)" <ji...@apache.org> on 2008/06/24 22:56:45 UTC
[jira] Created: (HADOOP-3632) Fix speculative execution or allow
premature stop
Fix speculative execution or allow premature stop
-------------------------------------------------
Key: HADOOP-3632
URL: https://issues.apache.org/jira/browse/HADOOP-3632
Project: Hadoop Core
Issue Type: New Feature
Affects Versions: 0.16.3
Reporter: Severin Hacker
I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
In 50% of the iterations:
499 maps finish in 50 seconds
1 map finishes after 4 minutes
Total time is 4 minutes.
In 50% of the iterations:
500 maps finish in 50 seconds
Total time is 50 seconds.
It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3632) Fix speculative execution or allow
premature stop
Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607860#action_12607860 ]
Amar Kamat commented on HADOOP-3632:
------------------------------------
One crude way of doing this would be to set the _{{mapred.max.map.failures.percent}}_ to something like 1% and then kill all the attempts that are stragglers using _{{JobTracker.killTask()}}_. You should kill atleast _{{mapred.map.max.attempts}}_ to get the TIP killed. One thing that can be added in the framework would be the facility to kill a TIP.
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3632) Fix speculative execution or allow
premature stop
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607798#action_12607798 ]
Doug Cutting commented on HADOOP-3632:
--------------------------------------
You could implement this yourself by having your map tasks periodically query the jobtracker for percent completion and exit when things pass some threshold. You could, e.g., define and use a subclass of MapRunnner that starts a thread that polls the JobTracker for this every second or so. To check map progress:
float mapProgress = new JobClient(job).getJob(job.get("mapred.job.id")).getMapProgress();
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (HADOOP-3632) Fix speculative
execution or allow premature stop
Posted by "Severin Hacker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608260#action_12608260 ]
shacker edited comment on HADOOP-3632 at 6/25/08 8:24 PM:
-----------------------------------------------------------------
Thanks for your comments. Is there a way to do that with Hadoop Streaming only?
was (Author: shacker):
Thanks for your comments. Is there to do that with Hadoop Streaming only?
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3632) Fix speculative execution or allow
premature stop
Posted by "Severin Hacker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610118#action_12610118 ]
Severin Hacker commented on HADOOP-3632:
----------------------------------------
I think this is related to HADOOP-707. I see exactly the same log with a "ChannelException" and "output error" on the straggling map machine.
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3632) Fix speculative execution or allow
premature stop
Posted by "Severin Hacker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608260#action_12608260 ]
Severin Hacker commented on HADOOP-3632:
----------------------------------------
Thanks for your comments. Is there to do that with Hadoop Streaming only?
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3632) Fix speculative execution or allow
premature stop
Posted by "Amar Kamat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608275#action_12608275 ]
Amar Kamat commented on HADOOP-3632:
------------------------------------
bq. One crude way of doing ....
This should work for all kinds of jobs.
> Fix speculative execution or allow premature stop
> -------------------------------------------------
>
> Key: HADOOP-3632
> URL: https://issues.apache.org/jira/browse/HADOOP-3632
> Project: Hadoop Core
> Issue Type: New Feature
> Affects Versions: 0.16.3
> Reporter: Severin Hacker
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> I run 50 iterations of a program with 500 maps and no reduces. I have noticed the following behaviour:
> In 50% of the iterations:
> 499 maps finish in 50 seconds
> 1 map finishes after 4 minutes
> Total time is 4 minutes.
> In 50% of the iterations:
> 500 maps finish in 50 seconds
> Total time is 50 seconds.
> It would be nice if I could tell hadoop to stop after 99% of the maps have finished (and not wait for that last straggler). In my application it's perfectly fine if I only get 99% of the results, as long as the straggler is not always using the same data.
> Please fix!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.