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

    https://github.com/apache/flink/pull/1398#discussion_r45728418
  
    --- Diff: 
flink-contrib/flink-storm/src/main/java/org/apache/flink/storm/wrappers/WrapperSetupHelper.java
 ---
    @@ -187,14 +190,15 @@ static synchronized TopologyContext 
createTopologyContext(
                                }
                        }
                        for (Entry<String, StateSpoutSpec> stateSpout : 
stateSpouts.entrySet()) {
    -                           Integer rc = taskId = 
processSingleOperator(stateSpout.getKey(), stateSpout
    +                           Integer rc = 
processSingleOperator(stateSpout.getKey(), stateSpout
                                                .getValue().get_common(), 
operatorName, context.getIndexOfThisSubtask(),
                                                dop, taskToComponents, 
componentToSortedTasks, componentToStreamToFields);
                                if (rc != null) {
                                        taskId = rc;
                                }
                        }
    -                   assert (taskId != null);
    +
    +                   Preconditions.checkNotNull("Task ID may not be null!", 
taskId);
                }
    --- End diff --
    
    They are disabled by default and are not reliable enough.


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