-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-4410] [runtime-web] Rebuild JS/HTML files
This closes #3042.
- Loading branch information
Showing
13 changed files
with
811 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.checkpoint-history.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
|
||
<!-- | ||
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. | ||
--> | ||
<div ng-if="checkpointStats"> | ||
<h3>History</h3> | ||
</div> | ||
<!-- h3 History--> | ||
<!-- table.table.table-body-hover.table-clickable--> | ||
<!-- thead--> | ||
<!-- tr--> | ||
<!-- td #[strong ID]--> | ||
<!-- td #[strong Status]--> | ||
<!-- td #[strong Acknowledged]--> | ||
<!-- td #[strong Trigger Time]--> | ||
<!-- td #[strong Latest Ack]--> | ||
<!-- td #[strong Duration]--> | ||
<!-- td #[strong State Size]--> | ||
<!-- td--> | ||
<!-- tbody(ng-if="checkpointStats['checkpoints'] && checkpointStats['checkpoints'].length > 0")--> | ||
<!-- tr(ng-repeat="checkpoint in checkpointStats['checkpoints']" ng-class="{'bg-warning': checkpoint['status'] == 'FAILED'}")--> | ||
<!-- td {{ checkpoint['id'] }}--> | ||
<!-- td(ng-if="checkpoint['status'] == 'IN_PROGRESS'") #[i(aria-hidden="true").fa.fa-circle-o-notch.fa-spin.fa-fw] In Progress--> | ||
<!-- td(ng-if="checkpoint['status'] == 'COMPLETED'") #[i(aria-hidden="true").fa.fa-check]--> | ||
<!-- td(ng-if="checkpoint['status'] == 'FAILED'") #[i(aria-hidden="true").fa.fa-remove] Failed--> | ||
<!-- td {{ checkpoint['subtasks']['acknowledged'] }}/{{ checkpoint['subtasks']['count'] }}--> | ||
<!-- = ' '--> | ||
<!-- span(ng-if="checkpoint['status'] == 'IN_PROGRESS'") ({{ checkpoint['subtasks']['acknowledged']/checkpoint['subtasks']['count'] | percentage }})--> | ||
<!-- td {{ checkpoint['trigger_timestamp'] | amDateFormat:'H:mm:ss' }}--> | ||
<!-- td {{ checkpoint['latest_ack_timestamp'] | amDateFormat:'H:mm:ss' }}--> | ||
<!-- td {{ checkpoint['duration'] | humanizeDuration }}--> | ||
<!-- td {{ checkpoint['size'] | humanizeBytes }}--> | ||
<!-- td--> | ||
<!-- //a.btn.btn-default(ng-click="toggleCheckpointDetails(checkpoint['id'])")--> | ||
<!-- a.btn.btn-default(ui-sref="^.details({checkpointId: checkpoint['id']})")--> | ||
<!-- i(aria-hidden="true").fa.fa-chevron-right--> | ||
<!-- = ' '--> | ||
<!-- | <strong>More details</strong>--> | ||
<!-- tbody(ng-if="!checkpointStats['checkpoints'] || checkpointStats['checkpoints'].length == 0")--> | ||
<!-- tr--> | ||
<!-- td(colspan=5) No checkpoints triggered--> | ||
<!----> |
59 changes: 59 additions & 0 deletions
59
flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.checkpoints.config.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
<!-- | ||
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. | ||
--> | ||
<div ng-if="checkpointConfig"> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<td><strong>Option</strong></td> | ||
<td><strong>Value</strong></td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Checkpointing Mode</td> | ||
<td ng-if="checkpointConfig['mode'] == 'exactly_once'">Exactly Once</td> | ||
<td ng-if="checkpointConfig['mode'] != 'exactly_once'">At Least Once</td> | ||
</tr> | ||
<tr> | ||
<td>Interval</td> | ||
<td ng-if="checkpointConfig['interval'] == '0x7fffffffffffffff'">Periodic checkpoints disabled</td> | ||
<td ng-if="checkpointConfig['interval'] != '0x7fffffffffffffff'">{{ checkpointConfig['interval'] | humanizeDuration }}</td> | ||
</tr> | ||
<tr> | ||
<td>Timeout</td> | ||
<td>{{ checkpointConfig['timeout'] | humanizeDuration }}</td> | ||
</tr> | ||
<tr> | ||
<td>Minimum Pause Between Checkpoints</td> | ||
<td>{{ checkpointConfig['min_pause'] | humanizeDuration }}</td> | ||
</tr> | ||
<tr> | ||
<td>Maximum Concurrent Checkpoints</td> | ||
<td>{{ checkpointConfig['max_concurrent'] }}</td> | ||
</tr> | ||
<tr> | ||
<td>Persist Checkpoints Externally</td> | ||
<td ng-if="checkpointConfig['externalization']['enabled']">Enabled <span ng-if="checkpointConfig['externalization']['delete_on_cancellation']">(delete on cancellation)</span><span ng-if="!checkpointConfig['externalization']['delete_on_cancellation']">(retain on cancellation)</span> | ||
</td> | ||
<td ng-if="!checkpointConfig['externalization']['enabled']">Disabled</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
51 changes: 51 additions & 0 deletions
51
flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node.checkpoints.counts.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
|
||
<!-- | ||
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. | ||
--> | ||
<div ng-if="checkpointStats"> | ||
<table class="table table-responsive"> | ||
<thead> | ||
<tr> | ||
<td width="30%"><strong>Checkpoint Event</strong></td> | ||
<td width="70%"><strong>Count</strong></td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>Triggered</td> | ||
<td>{{ checkpointStats['counts']['total'] }}</td> | ||
</tr> | ||
<tr> | ||
<td>In Progress</td> | ||
<td>{{ checkpointStats['counts']['in_progress'] }}</td> | ||
</tr> | ||
<tr> | ||
<td>Completed</td> | ||
<td>{{ checkpointStats['counts']['completed'] }}</td> | ||
</tr> | ||
<tr> | ||
<td>Failed</td> | ||
<td>{{ checkpointStats['counts']['failed'] }}</td> | ||
</tr> | ||
<tr> | ||
<td>Restored</td> | ||
<td>{{ checkpointStats['counts']['restored'] }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
Oops, something went wrong.