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

    https://github.com/apache/flink/pull/1398#discussion_r45854121
  
    --- Diff: 
flink-contrib/flink-storm/src/main/java/org/apache/flink/storm/wrappers/WrapperSetupHelper.java
 ---
    @@ -150,7 +153,7 @@ static synchronized TopologyContext 
createTopologyContext(
                        }
                        stormTopology = new StormTopology(spouts, bolts, new 
HashMap<String, StateSpoutSpec>());
     
    -                   taskId = context.getIndexOfThisSubtask();
    +                   taskId = context.getIndexOfThisSubtask() + 1;
     
    --- End diff --
    
    Actually, it doesn't matter. I set this before changing the topology 
parsing logic. For some topologies it would only run with this fix. But this 
has been fixed so the +1 is not necessary anymore.


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