YARN-10824. Title not set for JHS and NM webpages. Contributed by Bilwa S T.

(cherry picked from commit 7c7d02edbd)
This commit is contained in:
Jim Brennan 2021-06-25 20:32:08 +00:00
parent 9731dfbf0d
commit 9c4ac62d68
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ public class HsAboutPage extends HsView {
commonPreHead(html); commonPreHead(html);
//override the nav config from commonPReHead //override the nav config from commonPReHead
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:0}"); set(initID(ACCORDION, "nav"), "{autoHeight:false, active:0}");
setTitle("About History Server");
} }
/** /**

View File

@ -41,7 +41,7 @@ public class NodePage extends NMView {
@Override @Override
protected void commonPreHead(HTML<__> html) { protected void commonPreHead(HTML<__> html) {
super.commonPreHead(html); super.commonPreHead(html);
setTitle("NodeManager information");
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}"); set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
} }