YARN-7749. [UI2] GPU information tab in left hand side disappears when we click other tabs below. Contributed by Sunil G and Vasudevan Skm.
This commit is contained in:
parent
f3e33aeb80
commit
2014863470
|
@ -25,6 +25,7 @@ export default AbstractRoute.extend({
|
|||
return Ember.RSVP.hash({
|
||||
nodeApp: this.store.queryRecord('yarn-node-app',
|
||||
{ nodeAddr : param.node_addr, appId: param.app_id }),
|
||||
nmGpuInfo: this.store.findRecord('yarn-nm-gpu', param.node_addr, {reload:true}),
|
||||
nodeInfo: { id: param.node_id, addr: param.node_addr, appId: param.app_id }
|
||||
});
|
||||
},
|
||||
|
|
|
@ -25,6 +25,7 @@ export default AbstractRoute.extend({
|
|||
// Get all apps running on a specific node. Node is contacted by using node_addr.
|
||||
return Ember.RSVP.hash({
|
||||
apps: this.store.query('yarn-node-app', { nodeAddr: param.node_addr }),
|
||||
nmGpuInfo: this.store.findRecord('yarn-nm-gpu', param.node_addr, {reload:true}),
|
||||
nodeInfo: { id: param.node_id, addr: param.node_addr }
|
||||
});
|
||||
},
|
||||
|
|
|
@ -24,6 +24,7 @@ export default AbstractRoute.extend({
|
|||
// Get all containers running on specific node.
|
||||
return Ember.RSVP.hash({
|
||||
containers: this.store.query('yarn-node-container', { nodeHttpAddr: param.node_addr }),
|
||||
nmGpuInfo: this.store.findRecord('yarn-nm-gpu', param.node_addr, {reload:true}),
|
||||
nodeInfo: { id: param.node_id, addr: param.node_addr }
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue