huwh commented on code in PR #23465:
URL: https://github.com/apache/flink/pull/23465#discussion_r1382886222


##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfoWithHistory.java:
##########
@@ -208,7 +214,34 @@ public static class ExceptionInfo {
         private final Map<String, String> failureLabels;
 
         public ExceptionInfo(String exceptionName, String stacktrace, long 
timestamp) {
-            this(exceptionName, stacktrace, timestamp, Collections.emptyMap(), 
null, null, null);
+            this(
+                    exceptionName,
+                    stacktrace,
+                    timestamp,
+                    Collections.emptyMap(),
+                    null,
+                    null,
+                    null,
+                    null);
+        }
+
+        public ExceptionInfo(

Review Comment:
   This constructor is used by `JobExceptionsHandler` and unit tests. Can we 
change these to use the next constructor so we can delete this one?



##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfoWithHistory.java:
##########
@@ -330,6 +379,28 @@ public RootExceptionInfo(
                     null,
                     null,
                     null,
+                    null,
+                    concurrentExceptions);
+        }
+
+        public RootExceptionInfo(

Review Comment:
   Same as above, Can we remove this constructor?



##########
docs/static/generated/rest_v1_dispatcher.yml:
##########
@@ -6,7 +6,7 @@ info:
   license:
     name: Apache 2.0
     url: https://www.apache.org/licenses/LICENSE-2.0.html
-  version: v1/1.18-SNAPSHOT
+  version: v1/1.19-SNAPSHOT

Review Comment:
   This version was already updated in the master branch. Please rebase this pr 
to the latest master branch.



##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfoWithHistory.java:
##########
@@ -199,6 +200,11 @@ public static class ExceptionInfo {
         @Nullable
         private final String location;

Review Comment:
   Add `@Deprecated` to this field too.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to