YARN-7364. Queue dash board in new YARN UI has incorrect values. (Sunil G via wangda)
Change-Id: Ia5336f407147d2985a61b5f9f1e69b5b35f398a4
This commit is contained in:
parent
6ad6882343
commit
752f000e0f
|
@ -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", {});
|
||||
}),
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -22,6 +22,6 @@ export default {
|
|||
},
|
||||
|
||||
getQueueLink: function(queueName) {
|
||||
return '#/yarn-queue/' + queueName;
|
||||
return '#/yarn-queue/' + queueName + '/info';
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue