XComp commented on a change in pull request #13458:
URL: https://github.com/apache/flink/pull/13458#discussion_r494786048



##########
File path: flink-runtime-web/src/test/resources/rest_api_v1.snapshot
##########
@@ -3082,4 +3098,4 @@
       }
     }
   } ]
-}
+}

Review comment:
       May you remove this change as it is non-functional as well. This usually 
is introduced when opening the file with editors that remove the last `\n` 
automatically like `vi`.

##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/checkpoints/CheckpointStatistics.java
##########
@@ -113,23 +116,27 @@
        @JsonProperty(FIELD_NAME_NUM_ACK_SUBTASKS)
        private final int numAckSubtasks;
 
+       @JsonProperty(FIELD_NAME_CHECKPOINT_TYPE)
+       private final CheckpointType checkpointType;
+
        @JsonProperty(FIELD_NAME_TASKS)
        @JsonSerialize(keyUsing = JobVertexIDKeySerializer.class)
        private final Map<JobVertexID, TaskCheckpointStatistics> 
checkpointStatisticsPerTask;
 
        @JsonCreator
        private CheckpointStatistics(
-                       @JsonProperty(FIELD_NAME_ID) long id,
-                       @JsonProperty(FIELD_NAME_STATUS) CheckpointStatsStatus 
status,
-                       @JsonProperty(FIELD_NAME_IS_SAVEPOINT) boolean 
savepoint,
-                       @JsonProperty(FIELD_NAME_TRIGGER_TIMESTAMP) long 
triggerTimestamp,
-                       @JsonProperty(FIELD_NAME_LATEST_ACK_TIMESTAMP) long 
latestAckTimestamp,
-                       @JsonProperty(FIELD_NAME_STATE_SIZE) long stateSize,
-                       @JsonProperty(FIELD_NAME_DURATION) long duration,
-                       @JsonProperty(FIELD_NAME_ALIGNMENT_BUFFERED) long 
alignmentBuffered,
-                       @JsonProperty(FIELD_NAME_NUM_SUBTASKS) int numSubtasks,
-                       @JsonProperty(FIELD_NAME_NUM_ACK_SUBTASKS) int 
numAckSubtasks,
-                       @JsonDeserialize(keyUsing = 
JobVertexIDKeyDeserializer.class) @JsonProperty(FIELD_NAME_TASKS) 
Map<JobVertexID, TaskCheckpointStatistics> checkpointStatisticsPerTask) {
+               @JsonProperty(FIELD_NAME_ID) long id,
+               @JsonProperty(FIELD_NAME_STATUS) CheckpointStatsStatus status,
+               @JsonProperty(FIELD_NAME_IS_SAVEPOINT) boolean savepoint,
+               @JsonProperty(FIELD_NAME_TRIGGER_TIMESTAMP) long 
triggerTimestamp,
+               @JsonProperty(FIELD_NAME_LATEST_ACK_TIMESTAMP) long 
latestAckTimestamp,
+               @JsonProperty(FIELD_NAME_STATE_SIZE) long stateSize,
+               @JsonProperty(FIELD_NAME_DURATION) long duration,
+               @JsonProperty(FIELD_NAME_ALIGNMENT_BUFFERED) long 
alignmentBuffered,
+               @JsonProperty(FIELD_NAME_NUM_SUBTASKS) int numSubtasks,
+               @JsonProperty(FIELD_NAME_NUM_ACK_SUBTASKS) int numAckSubtasks,
+               @JsonProperty(FIELD_NAME_CHECKPOINT_TYPE) CheckpointType 
checkpointType,
+               @JsonDeserialize(keyUsing = JobVertexIDKeyDeserializer.class) 
@JsonProperty(FIELD_NAME_TASKS) Map<JobVertexID, TaskCheckpointStatistics> 
checkpointStatisticsPerTask) {

Review comment:
       Please fix the formatting here.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to