Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5589#discussion_r170937921
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/JobDetailsInfo.java
 ---
    @@ -165,6 +165,55 @@ public int hashCode() {
                return Objects.hash(jobId, name, isStoppable, jobStatus, 
startTime, endTime, duration, now, timestamps, jobVertexInfos, 
jobVerticesPerState, jsonPlan);
        }
     
    +   public JobID getJobId() {
    +           return jobId;
    +   }
    +
    +   public String getName() {
    +           return name;
    +   }
    +
    +   @JsonProperty(FIELD_NAME_IS_STOPPABLE)
    --- End diff --
    
    you should do this for all getters, as otherwise we can run into the same 
issue should we ever rename the field.


---

Reply via email to