| // |
| 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. |
| |
| table.table.table-hover.table-clickable.table-activable.table-inner(ng-if="taskmanagers") |
| thead |
| tr |
| th Start Time |
| th End Time |
| th Duration |
| th Bytes received |
| th Records received |
| th Bytes sent |
| th Records sent |
| th Host |
| th Tasks |
| th Status |
| |
| tbody(ng-repeat="tm in taskmanagers | orderBy:'host'") |
| tr |
| td |
| span(ng-if="v['start-time'] > -1") {{ v['start-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| td |
| span(ng-if="v['end-time'] > -1") {{ v['end-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| td |
| span(ng-if="v.duration > -1" title="{{v.duration | humanizeDuration:false}}") {{v.duration | humanizeDuration:true}} |
| |
| td |
| span(ng-if="tm.metrics['read-bytes'] > -1" title="{{tm.metrics['read-bytes']}} bytes") |
| | {{ tm.metrics['read-bytes'] | humanizeBytes}} |
| td |
| span(ng-if="tm.metrics['read-records'] > -1") {{ tm.metrics['read-records'] | number }} |
| td |
| span(ng-if="tm.metrics['write-bytes'] > -1" title="{{tm.metrics['write-bytes']}} bytes") |
| | {{ tm.metrics['write-bytes'] | humanizeBytes}} |
| td |
| span(ng-if="tm.metrics['write-records'] > -1") {{ tm.metrics['write-records'] | number }} |
| |
| td {{ tm.host }} |
| |
| td |
| .label-group |
| bs-label(status="{{status}}" ng-repeat="(index, status) in stateList") {{tm['status-counts'][status]}} |
| |
| td |
| bs-label(status="{{tm.status}}") {{tm.status}} |