diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-app.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-app.js index 8b2ad803f9..05f0f0b693 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-app.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-app.js @@ -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 } }); }, diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-apps.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-apps.js index 6044076d36..3a98558876 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-apps.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-apps.js @@ -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 } }); }, diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-containers.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-containers.js index 3c709f7982..6968ce0915 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-containers.js +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/routes/yarn-node-containers.js @@ -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 } }); },