Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2104

Scheduler queue filter failed to work because index of queue column changed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: resourcemanager, webapp
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      YARN-563 added,

      + th(".type", "Application Type”).
      

      to application table, which makes queue’s column index from 3 to 4. And in scheduler page, queue’s column index is hard coded to 3 when filter application with queue’s name,

                "    if (q == 'root') q = '';",
                "    else q = '^' + q.substr(q.lastIndexOf('.') + 1) + '$';",
                "    $('#apps').dataTable().fnFilter(q, 3, true);",
      

      So queue filter will not work for application page.

      Reproduce steps: (Thanks Bo Yang for pointing this)

      1) In default setup, there’s a default queue under root queue
      2) Run an arbitrary application, you can find it in “Applications” page
      3) Click “Default” queue in scheduler page
      4) Click “Applications”, no application will show here
      5) Click “Root” queue in scheduler page
      6) Click “Applications”, application will show again
      

        Attachments

        1. YARN-2104.patch
          4 kB
          Wangda Tan

          Issue Links

            Activity

              People

              • Assignee:
                leftnoteasy Wangda Tan
                Reporter:
                leftnoteasy Wangda Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: