Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8159 [Umbrella] Fixes for Multiple Resource Type Preemption in Capacity Scheduler
  3. YARN-8138

Add unit test to validate queue priority preemption works under node partition.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1
    • None
    • None
    • Reviewed

    Description

      Add unit test to validate queue priority preemption works under node partition.

      Test configuration:
      queue A (capacity=50, priority=1)
      queue B (capacity=50, priority=2)
      both have accessible-node-labels set to x
      A.accessible-node-labels.x.capacity = 50
      B.accessible-node-labels.x.capacity = 50
      Along with this pre-emption related properties have been set.

      Test steps:

      • Submit an application A1 to B, with am-container = container = 4096, no. of containers = 4
      • Submit an application A2 to A, with am-container = 1024, container = 2048, no of containers = (NUM_NM-1)
      • Kill application A1
      • Submit an application A3 to B with am-container=container=5210, no. of containers=NUM_NM
      • Expectation is that containers are pre-empted from application A2 to A3

      Attachments

        1. YARN-8138.001.patch
          8 kB
          Zian Chen
        2. YARN-8138.002.patch
          8 kB
          Zian Chen
        3. YARN-8138.003.patch
          8 kB
          Zian Chen

        Activity

          People

            Zian Chen Zian Chen
            charanh Charan Hebri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: