{{! * 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. }} {{#unless view.showOnlyRows}}
{{#if view.isCollapsed}} {{else}} {{/if}} {{view App.MainDashboardServiceHealthView serviceBinding="view.service"}} {{view.service.displayName}} {{#if view.criticalAlertsCount}} {{view.criticalAlertsCount}} {{/if}}
{{view.summaryHeader}}
{{/unless}} {{#unless view.showOnlyRows}}
{{t dashboard.services.hdfs.nanmenode}} {{view.service.nameNode.publicHostName}}
{{t dashboard.services.hdfs.snanmenode}} {{view.service.snameNode.publicHostName}}
{{t dashboard.services.hdfs.datanodes}} {{view.service.dataNodes.length}} {{t dashboard.services.hdfs.datanodes}}
{{t dashboard.services.hdfs.version}} {{view.version}}
{{t dashboard.services.hdfs.nameNodeWebUI}} {{view.service.nameNode.publicHostName}}:50070
{{t dashboard.services.hdfs.nodes.uptime}} {{view.nodeUptime}}
{{t dashboard.services.hdfs.nodes.heap}} {{view.nodeHeap}}
{{t dashboard.services.hdfs.datanodecounts}} {{view.service.liveDataNodes.length}} {{t dashboard.services.hdfs.nodes.live}} / {{view.service.deadDataNodes.length}} {{t dashboard.services.hdfs.nodes.dead}} / {{view.service.decommissionDataNodes.length}} {{t dashboard.services.hdfs.nodes.decom}}
{{t dashboard.services.hdfs.capacity}} {{view.capacity}}
{{t services.service.summary.blocksTotal}} {{view.dfsTotalBlocks}}
{{t services.service.summary.blockErrors}} {{view.blockErrorsMessage}}
{{t dashboard.services.hdfs.totalFilesAndDirs}} {{view.dfsTotalFiles}}
{{t services.service.summary.pendingUpgradeStatus}} {{#if view.service.upgradeStatus}} {{t services.service.summary.pendingUpgradeStatus.notPending}} {{else}} {{t services.service.summary.pendingUpgradeStatus.pending}} {{/if}}
{{t services.service.summary.safeModeStatus}} {{#if view.isSafeMode}} {{t services.service.summary.safeModeStatus.inSafeMode}} {{else}} {{t services.service.summary.safeModeStatus.notInSafeMode}} {{/if}}
{{view view.Chart serviceBinding="view.service"}}
{{t dashboard.services.hdfs.chart.label}}
{{#if view.service.quickLinks.length}} {{#view App.QuickViewLinks contentBinding="view.service"}}
{{t common.quickLinks}}
{{/view}} {{/if}}
{{/unless}}