Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public static final class VertexTaskDetail {
public static final String FIELD_NAME_STATUS = "status";
public static final String FIELD_NAME_ATTEMPT = "attempt";
public static final String FIELD_NAME_HOST = "host";
public static final String FIELD_NAME_START_TIME = "start_time";
public static final String FIELD_NAME_START_TIME = "start-time";
public static final String FIELD_NAME_COMPATIBLE_START_TIME = "start_time";
public static final String FIELD_NAME_END_TIME = "end-time";
public static final String FIELD_NAME_DURATION = "duration";
public static final String FIELD_NAME_METRICS = "metrics";
Expand All @@ -130,6 +131,9 @@ public static final class VertexTaskDetail {
@JsonProperty(FIELD_NAME_START_TIME)
private final long startTime;

@JsonProperty(FIELD_NAME_COMPATIBLE_START_TIME)
private final long startTimeCompatible;

@JsonProperty(FIELD_NAME_END_TIME)
private final long endTime;

Expand All @@ -154,6 +158,7 @@ public VertexTaskDetail(
this.attempt = attempt;
this.host = checkNotNull(host);
this.startTime = startTime;
this.startTimeCompatible = startTime;
this.endTime = endTime;
this.duration = duration;
this.metrics = checkNotNull(metrics);
Expand All @@ -175,14 +180,15 @@ public boolean equals(Object o) {
attempt == that.attempt &&
Objects.equals(host, that.host) &&
startTime == that.startTime &&
startTimeCompatible == that.startTimeCompatible &&
endTime == that.endTime &&
duration == that.duration &&
Objects.equals(metrics, that.metrics);
}

@Override
public int hashCode() {
return Objects.hash(subtask, status, attempt, host, startTime, endTime, duration, metrics);
return Objects.hash(subtask, status, attempt, host, startTime, startTimeCompatible, endTime, duration, metrics);
}
}
}