YARN-8396. Click on an individual container continuously spins and doesn't load the page. Contributed by Sunil Govindan.

(cherry picked from commit 745f3a2441)
This commit is contained in:
Rohith Sharma K S 2018-06-05 19:28:24 +05:30
parent f358a77610
commit e4eac4a9f3
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export default AbstractRoute.extend({
return Ember.RSVP.hash({
nodeContainer: this.store.queryRecord('yarn-node-container',
{ nodeHttpAddr: param.node_addr, containerId: param.container_id }),
nmGpuInfo: this.store.findRecord('yarn-nm-gpu', address, {reload:true}),
nmGpuInfo: this.store.findRecord('yarn-nm-gpu', param.node_addr, {reload:true}),
nodeInfo: { id: param.node_id, addr: param.node_addr, containerId: param.container_id }
});
},

View File

@ -19,7 +19,7 @@
{{breadcrumb-bar breadcrumbs=breadcrumbs}}
<div class="col-md-12 container-fluid">
{{node-menu path="yarn-container-log" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}}
{{node-menu-panel path="yarn-container-log" nodeAddr=model.nodeInfo.addr nodeId=model.nodeInfo.id}}
<div class="col-md-10">
<div class="panel panel-default">
<div class="panel-heading">