YARN-9626. UI2 - Fair scheduler queue apps page issues. Contributed by Zoltan Siegl
(cherry picked from commit 557056e18e
)
This commit is contained in:
parent
531e0c0bc1
commit
773591ee42
|
@ -38,7 +38,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>Pending, Allocated, Reserved Containers</td>
|
||||
<td>{{queue.pendingContainers}} , {{queue.allocatedContainers}} , {{queue.reservedContainers}}</td>
|
||||
<td>{{#if queue.pendingContainers}}{{queue.pendingContainers}}{{else}}0{{/if}}, {{#if queue.allocatedContainers}}{{queue.allocatedContainers}}{{else}}0{{/if}}, {{#if queue.reservedContainers}}{{queue.reservedContainers}}{{else}}0{{/if}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Scheduling Policy</td>
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
{{em-table-simple-status-cell content=model.selectedQueue.state}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (eq model.queues.firstObject.type "capacity")}}
|
||||
<div class="top-1">
|
||||
<span class="yarn-label secondary">
|
||||
<span class="label-key">configured capacity</span>
|
||||
|
@ -49,12 +50,13 @@
|
|||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="flex-right">
|
||||
{{#each model.selectedQueue.capacitiesBarChartData as |item|}}
|
||||
<span class="yarn-label primary">
|
||||
<span class="label-key"> {{lower item.label}}</span>
|
||||
<span class="label-value">{{item.value}}%</span>
|
||||
<span class="label-value">{{item.value}}{{#if (eq model.queues.firstObject.type "fair")}} MB{{else}}%{{/if}}</span>
|
||||
</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue