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

Tom White updated MAPREDUCE-825:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Aaron!

> JobClient completion poll interval of 5s causes slow tests in local mode
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-825
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-825
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: completion-poll-interval.patch, MAPREDUCE-825.2.patch
>
>
> The JobClient.NetworkedJob.waitForCompletion() method polls for job 
> completion every 5 seconds. When running a set of short tests in 
> pseudo-distributed mode, this is unnecessarily slow and causes lots of wasted 
> time. When bandwidth is not scarce, setting the poll interval to 100 ms 
> results in a 4x speedup in some tests.  This interval should be parametrized 
> to allow users to control the interval for testing purposes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to