Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Samza AM retry count logging #1701

Merged
merged 3 commits into from
Aug 8, 2024
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 @@ -572,9 +572,10 @@ void onResourceCompletedWithUnknownStatus(SamzaResourceStatus resourceStatus, St

// if fail count is (1 initial failure + max retries) then fail job.
if (currentFailCount > retryCount) {
LOG.error("Processor ID: {} (current Container ID: {}) has failed {} times, with last failure {} ms ago. " +
"This is greater than retry count of {} and window of {} ms, ",
processorId, containerId, currentFailCount, durationSinceLastRetryMs, retryCount, retryWindowMs);
LOG.error("Processor ID: {} (current Container ID: {}) has failed {} times. "
+ "This is greater that the retry count of {}."
+ "The failure occurred {} ms after the previous one, which is less than the retry window of {} ms.",
processorId, containerId, currentFailCount, retryCount, durationSinceLastRetryMs, retryWindowMs);

// We have too many failures, and we're within the window
// boundary, so reset shut down the app master.
Expand Down
Loading