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

[UI2] Support loading pre-2.8 version /scheduler REST response for queue page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: yarn-ui-v2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If we connect the new YARN UI to any Hadoop versions older than 2.8 it won't load. The console shows this trace:

      TypeError: Cannot read property 'queueCapacitiesByPartition' of undefined
          at Class.normalizeSingleResponse (yarn-ui.js:13903)
          at Class.superWrapper [as normalizeSingleResponse] (vendor.js:31811)
          at Class.handleQueue (yarn-ui.js:13928)
          at Class.normalizeArrayResponse (yarn-ui.js:13952)
          at Class.normalizeQueryResponse (vendor.js:101566)
          at Class.normalizeResponse (vendor.js:101468)
          at ember$data$lib$system$store$serializer$response$$normalizeResponseHelper (vendor.js:95345)
          at vendor.js:95672
          at Backburner.run (vendor.js:10426)
      

        Attachments

        1. YARN-7675.001.patch
          2 kB
          Gergely Novák

          Issue Links

            Activity

              People

              • Assignee:
                GergelyNovak Gergely Novák
                Reporter:
                GergelyNovak Gergely Novák
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: