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

[UI2] YARN UI2 is not accessible when config.env file failed to load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • yarn-ui-v2
    • None
    • Reviewed

    Description

      It is observed that yarn UI2 is not accessible. When UI2 is inspected, it gives below error

      index.html:1 Refused to execute script from 'http://ctr-e138-1518143905142-456429-01-000005.hwx.site:8088/ui2/config/configs.env' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
      yarn-ui.js:219 base url:
      vendor.js:1978 ReferenceError: ENV is not defined
       at updateConfigs (yarn-ui.js:212)
       at Object.initialize (yarn-ui.js:218)
       at vendor.js:824
       at vendor.js:825
       at visit (vendor.js:3025)
       at Object.visit [as default] (vendor.js:3024)
       at DAG.topsort (vendor.js:750)
       at Class._runInitializer (vendor.js:825)
       at Class.runInitializers (vendor.js:824)
       at Class._bootSync (vendor.js:823)
      onerrorDefault @ vendor.js:1978
      trigger @ vendor.js:2967
      (anonymous) @ vendor.js:3006
      invoke @ vendor.js:626
      flush @ vendor.js:629
      flush @ vendor.js:619
      end @ vendor.js:642
      run @ vendor.js:648
      join @ vendor.js:648
      run.join @ vendor.js:1510
      (anonymous) @ vendor.js:1512
      fire @ vendor.js:230
      fireWith @ vendor.js:235
      ready @ vendor.js:242
      completed @ vendor.js:242
      vendor.js:823 Uncaught ReferenceError: ENV is not defined
       at updateConfigs (yarn-ui.js:212)
       at Object.initialize (yarn-ui.js:218)
       at vendor.js:824
       at vendor.js:825
       at visit (vendor.js:3025)
       at Object.visit [as default] (vendor.js:3024)
       at DAG.topsort (vendor.js:750)
       at Class._runInitializer (vendor.js:825)
       at Class.runInitializers (vendor.js:824)
       at Class._bootSync (vendor.js:823)
      

       

      Attachments

        1. YARN-8726.001.patch
          0.8 kB
          Akhil PB

        Activity

          People

            akhilpb Akhil PB
            akhilpb Akhil PB
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: