| // |
| 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. |
| |
| |
| //- center(ng-if="!vertex") |
| //- i.fa.fa-circle-o-notch.fa-spin.fa-3x |
| |
| table.table.table-hover.table-clickable.table-activable.table-inner(ng-if="subtasks") |
| thead |
| tr |
| th Start Time |
| th End Time |
| th Duration |
| th Bytes received |
| th Records received |
| th Bytes sent |
| th Records sent |
| th Attempt |
| th Host |
| th Status |
| |
| tbody |
| tr(ng-repeat="subtask in subtasks | orderBy:'host'") |
| td |
| span(ng-if="subtask['start-time'] > -1") {{ subtask['start-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| td |
| span(ng-if="subtask['end-time'] > -1") {{ subtask['end-time'] | amDateFormat:'YYYY-MM-DD, H:mm:ss' }} |
| td |
| span(ng-if="subtask.duration > -1" title="{{subtask.duration | humanizeDuration:false}}") {{subtask.duration | humanizeDuration:true}} |
| |
| td |
| span(ng-if="subtask.metrics['read-bytes'] > -1" title="{{subtask.metrics['read-bytes']}} bytes") |
| | {{ subtask.metrics['read-bytes'] | humanizeBytes}} |
| td |
| span(ng-if="subtask.metrics['read-records'] > -1") {{ subtask.metrics['read-records'] | number }} |
| td |
| span(ng-if="subtask.metrics['write-bytes'] > -1" title="{{subtask.metrics['write-bytes']}} bytes") |
| | {{ subtask.metrics['write-bytes'] | humanizeBytes}} |
| td |
| span(ng-if="subtask.metrics['write-records'] > -1") {{ subtask.metrics['write-records'] | number }} |
| |
| td {{ subtask.attempt + 1 }} |
| td {{ subtask.host }} |
| td |
| bs-label(status="{{subtask.status}}") {{subtask.status}} |