You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2018/03/09 21:19:00 UTC

[jira] [Resolved] (CRUNCH-665) Make MRExecutor pollInterval configurable

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

Josh Wills resolved CRUNCH-665.
-------------------------------
    Resolution: Fixed

And merged to CMS!

> Make MRExecutor pollInterval configurable
> -----------------------------------------
>
>                 Key: CRUNCH-665
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-665
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Clément MATHIEU
>            Assignee: Josh Wills
>            Priority: Major
>         Attachments: 0001-CRUNCH-665-Add-crunch.max.poll.interval-property.patch, user-guide.mdtext.patch
>
>
> {{MRExecutor#pollInterval}} is currently hard coded to 50..1_000 for local mode and 500..10_000 otherwise. While being a sensible trade-off, one might want to poll more aggressively. For example, 1 seconds is usually too high for small integration tests. 
> A few experiments on internal test suites showed that lowering poll interval could halve execution time.
> What do you think about adding a new configuration parameter that would override default config? I can craft a patch if needed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)