hadop 檢視DataNode的資源使用情況資訊(web介面)
阿新 • • 發佈:2018-11-11
文章目錄
1.概述
2. 配置
3. 例項
自己搭建一個hadoop本地集群后,訪問
http://localhost:8088/ws/v1/cluster/metrics
<?xml version="1.0" encoding="utf-8"?>
<clusterMetrics>
<appsSubmitted>0</appsSubmitted>
<appsCompleted>0</appsCompleted>
< appsPending>0</appsPending>
<appsRunning>0</appsRunning>
<appsFailed>0</appsFailed>
<appsKilled>0</appsKilled>
<reservedMB>0</reservedMB>
<availableMB>8192</availableMB>
<allocatedMB>0</allocatedMB>
<reservedVirtualCores >0</reservedVirtualCores>
<availableVirtualCores>8</availableVirtualCores>
<allocatedVirtualCores>0</allocatedVirtualCores>
<containersAllocated>0</containersAllocated>
<containersReserved>0</containersReserved>
<containersPending >0</containersPending>
<totalMB>8192</totalMB>
<totalVirtualCores>8</totalVirtualCores>
<totalNodes>1</totalNodes>
<lostNodes>0</lostNodes>
<unhealthyNodes>0</unhealthyNodes>
<decommissionedNodes>0</decommissionedNodes>
<rebootedNodes>0</rebootedNodes>
<activeNodes>1</activeNodes>
</clusterMetrics>