You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Clément MATHIEU (JIRA)" <ji...@apache.org> on 2018/03/07 09:23: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 ]
Clément MATHIEU updated CRUNCH-665:
-----------------------------------
Attachment: 0001-CRUNCH-665-Add-crunch.max.poll.interval-property.patch
> 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
>
>
> {{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)