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

    https://github.com/apache/storm/pull/1445#discussion_r72922608
  
    --- Diff: 
storm-core/test/clj/integration/org/apache/storm/integration_test.clj ---
    @@ -403,17 +403,18 @@
     (def bolt-prepared? (atom false))
     (defbolt prepare-tracked-bolt [] {:prepare true}
       [conf context collector]  
    -  (reset! bolt-prepared? true)
       (bolt
        (execute [tuple]
    +            (reset! bolt-prepared? true)
    --- End diff --
    
    The basic idea was that, in the original code, `spout-opened?` or 
`bolt-prepared?` are set to true in executor initialization phase, while after 
porting to java, this behavior is deferred to `execute/nextTuple`.


---
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.
---

Reply via email to