YARN-7364. Queue dash board in new YARN UI has incorrect values. (Sunil G via wangda)
Change-Id: Ia5336f407147d2985a61b5f9f1e69b5b35f398a4
(cherry picked from commit 752f000e0f
)
This commit is contained in:
parent
d00b6f7c1f
commit
04c604cf1d
|
@ -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