Pig
  1. Pig
  2. PIG-2702

Make Pig local mode (and tests) faster by working around the hard coded sleep(5000) in hadoop's JobControl

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      the JobControl class polls the jobs statuses with a hard coded sleep(5000) making every job take a minimum of 5 seconds.
      Since the local mode uses the same code path this makes local mode (and unit tests) extremely slow.

      1. PIG-2702.patch
        20 kB
        Julien Le Dem
      2. PIG-2702_a.patch
        23 kB
        Julien Le Dem

        Activity

          People

          • Assignee:
            Julien Le Dem
            Reporter:
            Julien Le Dem
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development