95 lines
3.4 KiB
Handlebars
95 lines
3.4 KiB
Handlebars
{{!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
--}}
|
|
|
|
<div class="col-md-12 container-fluid">
|
|
<div class="row">
|
|
{{node-menu path="yarnNode" nodeId=model.rmNode.id nodeAddr=model.node.id}}
|
|
<div class="col-md-10 container-fluid">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">Node Information</div>
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td>Total Vmem allocated for Containers</td>
|
|
<td>{{divide num=model.node.totalVmemAllocatedContainersMB den=1024}} GB</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Vmem enforcement enabled</td>
|
|
<td>{{model.node.vmemCheckEnabled}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Total Pmem allocated for Containers</td>
|
|
<td>{{divide num=model.node.totalPmemAllocatedContainersMB den=1024}} GB</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Pmem enforcement enabled</td>
|
|
<td>{{model.node.pmemCheckEnabled}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Total VCores allocated for Containers</td>
|
|
<td>{{model.node.totalVCoresAllocatedContainers}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Node Healthy Status</td>
|
|
<td>{{model.node.nodeHealthy}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Last Node Health Report Time</td>
|
|
<td>{{model.node.lastNodeUpdateTime}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Node Health Report</td>
|
|
<td>{{model.node.healthReport}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Node Manager Start Time</td>
|
|
<td>{{model.node.nmStartupTime}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Node Manager Version</td>
|
|
<td>{{model.node.nodeManagerBuildVersion}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Hadoop Version</td>
|
|
<td>{{model.node.hadoopBuildVersion}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="col-lg-4 container-fluid" id="mem-donut-chart">
|
|
{{donut-chart data=model.rmNode.getMemoryDataForDonutChart
|
|
title="Resource - Memory (in MB)"
|
|
showLabels=true
|
|
parentId="mem-donut-chart"
|
|
ratio=0.55
|
|
maxHeight=350}}
|
|
</div>
|
|
|
|
<div class="col-lg-4 container-fluid" id="vcore-donut-chart">
|
|
{{donut-chart data=model.rmNode.getVCoreDataForDonutChart
|
|
title="Resource - VCores"
|
|
showLabels=true
|
|
parentId="vcore-donut-chart"
|
|
ratio=0.55
|
|
maxHeight=350}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{outlet}}
|