Skip to content
Closed
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 @@ -906,9 +906,13 @@ protected void authorizeStartAndResourceIncreaseRequest(
.currentTimeMillis()) {
// Ensure the token is not expired.
unauthorized = true;
messageBuilder.append("\nThis token is expired. current time is ")
.append(System.currentTimeMillis()).append(" found ")
.append(containerTokenIdentifier.getExpiryTimeStamp());
messageBuilder.append("\nThe container token of id ")
.append(containerIDStr)
.append(" is expired. Current system time is ")
.append(System.currentTimeMillis()).append(" ,token expiry time is ")
.append(containerTokenIdentifier.getExpiryTimeStamp())
.append(". And app id is ")
.append(nmTokenIdentifier.getApplicationAttemptId().getApplicationId());
messageBuilder.append("\nNote: System times on machines may be out of sync.")
.append(" Check system time and time zones.");
}
Expand Down