zentol commented on a change in pull request #9859: [FLINK-11405][rest]rest api
can more exceptions by query parameter
URL: https://github.com/apache/flink/pull/9859#discussion_r338446492
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfo.java
##########
@@ -81,6 +81,22 @@ public int hashCode() {
return Objects.hash(rootException, rootTimestamp,
allExceptions, truncated);
}
+ public String getRootException() {
+ return rootException;
+ }
+
+ public Long getRootTimestamp() {
+ return rootTimestamp;
Review comment:
getters should be annotated with `@JsonIgnore` to prevent wacky behaviors if
the java/json field names differ.
----------------------------------------------------------------
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