{{!
* 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.
}}
{{view view.dashboardMasterComponentView}}

<!-- NodeManagers -->
<tr>
  <td><a href="#" {{action filterHosts view.nodeManagerComponent}}>{{t dashboard.services.yarn.nodeManagers}}</a></td>
  <td>
    <span>
      {{#view App.ComponentLiveTextView liveComponentsBinding="view.service.nodeManagersStarted" totalComponentsBinding="view.service.nodeManagersTotal"}}
        {{view.liveComponents}}/{{view.totalComponents}}
      {{/view}}
    </span>{{t common.started}}
  </td>
</tr>
<!-- NodeManagers status -->
<tr>
  <td>{{t dashboard.services.yarn.nodeManagers.status}}</td>
  <td>{{view.nodeManagersStatus}}</td>
</tr>
<!-- YARN Clients -->
<tr>
  <td class="summary-label"><a {{action filterHosts view.yarnClientComponent}}
      href="javascript:void(null)">{{pluralize view.service.installedClients singular="t:dashboard.services.yarn.client" plural="t:dashboard.services.yarn.clients"}}</a>
  </td>
  <td>
    <span class="green-live">{{view.service.installedClients}} </span>
    {{pluralize view.service.installedClients singular="t:dashboard.services.yarn.client" plural="t:dashboard.services.yarn.clients"}} {{t common.installed}}
  </td>
</tr>
<!-- ResourceManager Uptime -->
<tr>
  <td>{{t dashboard.services.yarn.resourceManager.uptime}}</td>
  <td>{{view.nodeUptime}}</td>
</tr>
<!-- ResourceManager Heap -->
<tr>
  <td>{{t dashboard.services.resourceManager.nodes.heap}}</td>
  <td>{{view.nodeHeap}}</td>
</tr>
<!-- Containers -->
<tr>
  <td>{{t dashboard.services.yarn.containers}}</td>
  <td>{{view.containers}}</td>
</tr>
<!-- Applications -->
<tr>
  <td>{{t dashboard.services.yarn.apps}}</td>
  <td>{{view.apps}}</td>
</tr>
<!-- Memory -->
<tr>
  <td>{{t dashboard.services.yarn.memory}}</td>
  <td>{{view.memory}}</td>
</tr>
<!-- Queues -->
<tr>
  <td>{{t dashboard.services.yarn.queues}}</td>
  <td><span rel="queue-tooltip"
            class="text-tooltip" {{bindAttr data-original-title="view.service.queueFormatted" }}>{{view.queues}}</span>
  </td>
</tr>
