| {{! |
| * 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}} |
| <div class="clearfix like_pointer" {{action toggleInfoView target="view"}}> |
| <div class="name span2"> |
| {{#if view.isCollapsed}} |
| <i class="icon-caret-down pull-left"></i> |
| {{else}} |
| <i class="icon-caret-right pull-left"></i> |
| {{/if}} |
| {{view App.MainDashboardServiceHealthView serviceBinding="view.service"}} |
| <a {{action selectService view.service href=true}}>{{view.service.displayName}}</a> |
| {{#if view.criticalAlertsCount}} |
| <a href="#" class="label label-important" {{action "showAlertsPopup" view.service target="view.parentView"}}> |
| {{view.criticalAlertsCount}} |
| </a> |
| {{/if}} |
| </div> |
| <div class="summary span"> |
| {{view.summaryHeader}} |
| </div> |
| </div> |
| <div class="service-body"> |
| <div class="span4"> |
| <table class="table no-borders"> |
| <tbody> |
| {{/unless}} |
| <!-- JobTracker --> |
| <tr> |
| <td>{{t services.service.summary.jobTracker}}</td> |
| <td><a href="#" {{action showDetails view.service.jobTracker}}>{{view.service.jobTracker.publicHostName}}</a></td> |
| </tr> |
| <!-- TaskTrackers --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.taskTrackers}}</td> |
| <td><a href="#" {{action filterHosts view.taskTrackerComponent}}>{{view.service.taskTrackers.length}} {{t dashboard.services.mapreduce.taskTrackers}}</a></td> |
| </tr> |
| <!-- Version --> |
| <tr> |
| <td>{{t dashboard.services.hdfs.version}}</td> |
| <td>{{view.version}}</td> |
| </tr> |
| <!-- JobTracker Web UI --> |
| <tr> |
| <td>{{t services.service.summary.jobTrackerWebUI}}</td> |
| <td><a {{bindAttr href="view.jobTrackerWebUrl"}} target="_blank">{{view.service.jobTracker.publicHostName}}:50030</a> |
| </td> |
| </tr> |
| <!-- Job Tracker Uptime --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.jobTrackerUptime}}</td> |
| <td>{{view.jobTrackerUptime}}</td> |
| </tr> |
| <!-- Trackers --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.trackers}}</td> |
| <td>{{view.trackersSummary}}</td> |
| </tr> |
| <!-- TaskTracker Counts --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.taskTrackerCounts}}</td> |
| <td> |
| {{view.service.grayListTrackers.length}} {{t dashboard.services.mapreduce.nodes.blacklist}} / |
| {{view.service.blackListTrackers.length}} {{t dashboard.services.mapreduce.nodes.graylist}} / |
| {{view.service.trackersDecommissioned}} {{t dashboard.services.hdfs.nodes.decom}} |
| </td> |
| </tr> |
| <!-- JobTracker Heap --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.jobTrackerHeap}}</td> |
| <td>{{view.trackersHeapSummary}}</td> |
| </tr> |
| <!-- Total slots capacity --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.slotCapacity}}</td> |
| <td>{{view.slotsCapacitySummary}}</td> |
| </tr> |
| <!-- Jobs --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.jobs}}</td> |
| <td>{{view.jobsSummary}}</td> |
| </tr> |
| <!-- Map Slots --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.mapSlots}}</td> |
| <td>{{view.mapSlotsSummary}}</td> |
| </tr> |
| <!-- Reduce Slots --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.reduceSlots}}</td> |
| <td>{{view.reduceSlotsSummary}}</td> |
| </tr> |
| <!-- Tasks:Maps --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.tasks.maps}}</td> |
| <td>{{view.mapTasksSummary}}</td> |
| </tr> |
| <!-- Tasks:Reduces --> |
| <tr> |
| <td>{{t dashboard.services.mapreduce.tasks.reduces}}</td> |
| <td>{{view.reduceTasksSummary}}</td> |
| </tr> |
| |
| {{#unless view.showOnlyRows}} |
| </tbody> |
| </table> |
| </div> |
| <div class="dashboard-mini-chart span2"> |
| {{view App.ChartServiceMetricsMapReduce_TasksRunningWaiting}} |
| |
| {{#if view.service.quickLinks.length}} |
| {{#view App.QuickViewLinks contentBinding="view.service"}} |
| <div class="btn-group"> |
| <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#"> |
| {{t common.quickLinks}} |
| <span class="caret"></span> |
| </a> |
| <ul class="dropdown-menu"> |
| {{#each view.quickLinks}} |
| <li><a {{bindAttr href="url"}} target="_blank">{{label}}</a></li> |
| {{/each}} |
| </ul> |
| </div> |
| {{/view}} |
| {{/if}} |
| </div> |
| </div> |
| {{/unless}} |