YARN-7364. Queue dash board in new YARN UI has incorrect values. (Sunil G via wangda)

Change-Id: Ia5336f407147d2985a61b5f9f1e69b5b35f398a4
This commit is contained in:
Wangda Tan 2017-11-02 09:50:00 -07:00
parent 6ad6882343
commit 752f000e0f
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,10 @@ export default AbstractRoute.extend({
{
state: "RUNNING"
}),
queues: this.store.query('yarn-queue.yarn-queue', {}),
queues: this.store.query("yarn-queue.yarn-queue", {}).then((model) => {
let type = model.get('firstObject').get('type');
return this.store.query("yarn-queue." + type + "-queue", {});
}),
});
},

View File

@ -22,6 +22,6 @@ export default {
},
getQueueLink: function(queueName) {
return '#/yarn-queue/' + queueName;
return '#/yarn-queue/' + queueName + '/info';
}
};