You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Micah Whitacre (Jira)" <ji...@apache.org> on 2019/11/20 14:21:00 UTC

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

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

Micah Whitacre updated CRUNCH-665:
----------------------------------
    Fix Version/s: 1.0.0

> 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
>             Fix For: 1.0.0
>
>         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
(v8.3.4#803005)