Github user davidyan74 commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/185#discussion_r47727089
--- Diff:
engine/src/main/java/com/datatorrent/stram/StreamingContainerManager.java ---
@@ -1907,6 +1920,12 @@ public void updateRecoveryCheckpoints(PTOperator
operator, UpdateCheckpointsCont
if (operator.getState() == PTOperator.State.ACTIVE && (ctx.currentTms
- operator.stats.lastWindowIdChangeTms) >
operator.stats.windowProcessingTimeoutMillis) {
// if the checkpoint is ahead, then it is not blocked but waiting
for activation (state-less recovery, at-most-once)
if (ctx.committedWindowId.longValue() >=
operator.getRecoveryCheckpoint().windowId) {
+ LOG.info("Marking operator {} blocked: time since last windowId
change={}, timeout={}, committed windowId={}, recovery windowId={}",
--- End diff --
It is not related. I can open another PR for logging such condition.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---