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

    https://github.com/apache/storm/pull/2218#discussion_r129662087
  
    --- Diff: 
storm-client/src/jvm/org/apache/storm/topology/WindowedBoltExecutor.java ---
    @@ -127,26 +154,30 @@ private void validate(Map<String, Object> topoConf, 
Count windowLengthCount, Dur
                 throw new IllegalArgumentException("Window length is not 
specified");
             }
     
    -        if (windowLengthDuration != null && slidingIntervalDuration != 
null) {
    -            ensureDurationLessThanTimeout(windowLengthDuration.value + 
slidingIntervalDuration.value, topologyTimeout);
    -        } else if (windowLengthDuration != null) {
    -            ensureDurationLessThanTimeout(windowLengthDuration.value, 
topologyTimeout);
    -        } else if (slidingIntervalDuration != null) {
    -            ensureDurationLessThanTimeout(slidingIntervalDuration.value, 
topologyTimeout);
    -        }
    +        if (isPersistent()) {
    +            
ensureCheckpointIntervalLessThanTimeout(getCheckpointIntervalSecs(topoConf), 
topologyTimeout);
    --- End diff --
    
    Don't you want to do the normal validation as well?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to