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

[UI2] Refresh buttons don't work after EmberJS upgrade

    XMLWordPrintableJSON

Details

    Description

      After YARN-10826 and YARN-10858, UI2 uses EmberJS 2.8.0, but the refresh buttons do not work anymore. The following error is thrown in the Chrome console, but other browsers also fail.

      yarn-ui.js:38 Uncaught TypeError: Cannot read properties of undefined (reading 'send')
          at Class.refresh (yarn-ui.js:38:311)
          at Class.send (vendor.js:2504:107)
          at Class.superWrapper [as send] (vendor.js:1875:112)
          at vendor.js:1165:144
          at Object.flaggedInstrument (vendor.js:1583:187)
          at runRegisteredAction (vendor.js:1165:68)
          at Backburner.run (vendor.js:738:228)
          at Object.run [as default] (vendor.js:1840:517)
          at Object.handler (vendor.js:1164:178)
          at HTMLButtonElement.<anonymous> (vendor.js:2534:128)

      Downgrading the ember version to 2.7.0 seems to resolve the issue, but this also requires a jquery downgrade.

      Attachments

        Issue Links

          Activity

            People

              susheel.gupta Susheel Gupta
              bgoerlitz Brian Goerlitz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: