klion26 commented on a change in pull request #10344: 
[FLINK-14264][StateBackend][Rest] Expose state backend in checkpoint rest api
URL: https://github.com/apache/flink/pull/10344#discussion_r351615345
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/tasks/CheckpointCoordinatorConfiguration.java
 ##########
 @@ -119,6 +123,14 @@ public int getTolerableCheckpointFailureNumber() {
                return tolerableCheckpointFailureNumber;
        }
 
+       public String getStateBackendName() {
+               return stateBackendName;
+       }
+
+       public void setStateBackendName(@Nonnull String newStateBackend) {
 
 Review comment:
   Add a setter function here instead of passed in from constructor, because 
[`StreamGraph#getStateBackend()`](https://github.com/apache/flink/blob/f38106582e69765677ef8ebddece3a92641f6f22/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java#L895)
 may return null in `StreamingJobGraphGenerator#configureCheckpointing`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to