Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5583

Ability to limit running map and reduce tasks

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.9, 2.1.1-beta
    • Fix Version/s: 2.7.0
    • Component/s: mr-am, mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      <!-- markdown -->
      This introduces two new MR2 job configs, mentioned below, which allow users to control the maximum simultaneously-running tasks of the submitted job, across the cluster:

      * mapreduce.job.running.map.limit (default: 0, for no limit)
      * mapreduce.job.running.reduce.limit (default: 0, for no limit)

      This is controllable at a per-job level.
      Show
      <!-- markdown --> This introduces two new MR2 job configs, mentioned below, which allow users to control the maximum simultaneously-running tasks of the submitted job, across the cluster: * mapreduce.job.running.map.limit (default: 0, for no limit) * mapreduce.job.running.reduce.limit (default: 0, for no limit) This is controllable at a per-job level.

      Description

      It would be nice if users could specify a limit to the number of map or reduce tasks that are running simultaneously. Occasionally users are performing operations in tasks that can lead to DDoS scenarios if too many tasks run simultaneously (e.g.: accessing a database, web service, etc.). Having the ability to throttle the number of tasks simultaneously running would provide users a way to mitigate issues with too many tasks on a large cluster attempting to access a serivce at any one time.

      This is similar to the functionality requested by MAPREDUCE-224 and implemented by HADOOP-3412 but was dropped in mrv2.

        Attachments

        1. MAPREDUCE-5583v4.patch
          28 kB
          Jason Lowe
        2. MAPREDUCE-5583v3.patch
          28 kB
          Jason Lowe
        3. MAPREDUCE-5583v2.patch
          28 kB
          Jason Lowe
        4. MAPREDUCE-5583v1.patch
          17 kB
          Jason Lowe
        5. MAPREDUCE-5583-branch2.4.1.patch
          16 kB
          Yang Hao

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Lowe
                Reporter:
                jlowe Jason Lowe
              • Votes:
                2 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: