[
https://issues.apache.org/jira/browse/FLINK-8656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372677#comment-16372677
]
ASF GitHub Bot commented on FLINK-8656:
---------------------------------------
Github user GJL commented on a diff in the pull request:
https://github.com/apache/flink/pull/5487#discussion_r169913228
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
---
@@ -963,6 +1120,36 @@ private Acknowledge suspendExecution(final Exception
cause) {
return Acknowledge.get();
}
+ /**
+ * Schedules the execution of the current {@link ExecutionGraph}.
+ */
+ private void scheduleExecutionGraph() {
+ try {
+ executionGraph.scheduleForExecution();
+ }
+ catch (Throwable t) {
+ executionGraph.failGlobal(t);
+ }
+ }
+
+ /**
+ * Dispose the savepoint stored under the given path.
+ *
+ * @param savepointPath path where the savepoint is stored
+ */
+ private void disposeSavepoint(String savepointPath) {
+ try {
+ // delete the temporary savepoint
+ Checkpoints.disposeSavepoint(
+ savepointPath,
+ jobMasterConfiguration.getConfiguration(),
+ userCodeLoader,
+ log);
+ } catch (FlinkException | IOException de) {
--- End diff --
Why `de`? Just want to make sure it's not a typo.
> Add CLI command for rescaling
> -----------------------------
>
> Key: FLINK-8656
> URL: https://issues.apache.org/jira/browse/FLINK-8656
> Project: Flink
> Issue Type: New Feature
> Components: Client
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: flip-6
> Fix For: 1.5.0
>
>
> The REST rescaling calls should be made accessible via the {{CliFrontend}}.
> In order to do that I propose to add a {{modify}} command to the
> {{CliFrontend}} to which we can pass a new parallelism.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)