[
https://issues.apache.org/jira/browse/MAPREDUCE-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264684#comment-13264684
]
Devaraj K commented on MAPREDUCE-3173:
--------------------------------------
Thanks a lot Robert for looking into the patch.
'hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/jquery/themes-1.8.16/'
directory contains only css files and doesn't contain any images.
I forgot to mention one thing, need to add 'jquery.min-1.6.4.js.gz',
'jquery-ui.min-1.8.16.js.gz' files attached in this jira in
'hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/jquery'
directory. I think due to these files missing images are not displaying
properly for you. Can you please add these files and check?
One more issue I see is 'themeswitcher.js' also trying to access the internet
and due to that not able to switch from one theme to another theme
automatically. If we do refresh on the page, it is getting changed. I will
update the patch with this change.
> MRV2 UI doesn't work properly without internet
> ----------------------------------------------
>
> Key: MAPREDUCE-3173
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3173
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-3173.patch, jquery-ui.min-1.8.16.js.gz,
> jquery.min-1.6.4.js.gz
>
>
> When we try access the MRV2 UI, it is always giving the below message in the
> UI even if the java script enabled in the browser.
> {code:xml}
> This page works best with javascript enabled.
> {code}
> It is trying to download these below css/js files from internet and finally
> ending up with the above message. For loading the page also it is taking long
> time.
> {code:title=JQueryUI.java|borderStyle=solid}
> html.
>
> link(join("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/",
> getTheme(), "/jquery-ui.css")).
> link("/static/dt-1.7.5/css/jui-dt.css").
>
> script("https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js").
>
> script("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js").
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira