You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akhil PB (JIRA)" <ji...@apache.org> on 2018/08/29 06:36:00 UTC

[jira] [Created] (YARN-8726) [UI2] YARN UI2 is not accessible when config.env file failed to load

Akhil PB created YARN-8726:
------------------------------

             Summary: [UI2] YARN UI2 is not accessible when config.env file failed to load
                 Key: YARN-8726
                 URL: https://issues.apache.org/jira/browse/YARN-8726
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn-ui-v2
            Reporter: Akhil PB
            Assignee: Akhil PB


It is observed that yarn UI2 is not accessible. When UI2 is inspected, it gives below error
{code}
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)
{code}
cc:/ [~sgovindan] [~apb]
Cluster to use http://ctr-e138-1518143905142-456429-01-000005.hwx.site:8088/ui2/index.html
Its [~gsaha] cluster..



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org