| {{! |
| * 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}} |
| <!-- HBase Master Server --> |
| <tr> |
| <td>{{t dashboard.services.hbase.masterServer}}</td> |
| <td><a href="#" {{action showDetails view.service.master}}>{{view.service.master.publicHostName}}</a></td> |
| </tr> |
| <!-- RegionServers --> |
| <tr> |
| <td>{{t dashboard.services.hbase.regionServers}}</td> |
| <td><a href="#" {{action filterHosts view.regionServerComponent}}>{{view.service.regionServers.length}} {{t dashboard.services.hbase.regionServers}}</a></td> |
| </tr> |
| <!-- Version --> |
| <tr> |
| <td>{{t dashboard.services.hbase.version}}</td> |
| <td>{{view.version}} {{view.service.revision}}</td> |
| </tr> |
| <!-- HBaseMaster Web UI --> |
| <tr> |
| <td>{{t dashboard.services.hbase.masterWebUI}}</td> |
| <td><a {{bindAttr href="view.hbaseMasterWebUrl"}} target="_blank">{{view.service.master.publicHostName}}:60010</a> |
| </td> |
| </tr> |
| <!-- Regions in Transition --> |
| <tr> |
| <td>{{t dashboard.services.hbase.regions.transition}}</td> |
| <td>{{view.service.regionsInTransition}}</td> |
| </tr> |
| <!-- HBase Master Started Time --> |
| <tr> |
| <td>{{t dashboard.services.hbase.masterStarted}}</td> |
| <td>{{view.masterStartedTime}}</td> |
| </tr> |
| <!-- HBase Master Activated Time --> |
| <tr> |
| <td>{{t dashboard.services.hbase.masterActivated}}</td> |
| <td>{{view.masterStartedTime}}</td> |
| </tr> |
| <!-- Average Load --> |
| <tr> |
| <td>{{t dashboard.services.hbase.averageLoad}}</td> |
| <td>{{view.averageLoad}}</td> |
| </tr> |
| <!-- Master Server Heap --> |
| <tr> |
| <td>{{t dashboard.services.hbase.masterServerHeap}}</td> |
| <td>{{view.masterServerHeapSummary}}</td> |
| </tr> |
| |
| {{#unless view.showOnlyRows}} |
| </tbody> |
| </table> |
| </div> |
| <div class="dashboard-mini-chart span2"> |
| {{view App.ChartServiceMetricsHBASE_RegionServerReadWriteRequests}} |
| |
| {{#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}} |