Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-825

JobClient completion poll interval of 5s causes slow tests in local mode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. completion-poll-interval.patch
        3 kB
        Aaron Kimball
      2. MAPREDUCE-825.2.patch
        6 kB
        Aaron Kimball

        Activity

        Aaron Kimball created issue -
        Aaron Kimball made changes -
        Field Original Value New Value
        Attachment completion-poll-interval.patch [ 12415515 ]
        Aaron Kimball made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aaron Kimball made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Aaron Kimball made changes -
        Attachment MAPREDUCE-825.2.patch [ 12415772 ]
        Aaron Kimball made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.21.0 [ 12314045 ]
        Resolution Fixed [ 1 ]
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Aaron Kimball
            Reporter:
            Aaron Kimball
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development