Github user satishd commented on a diff in the pull request:
https://github.com/apache/storm/pull/1616#discussion_r73856052
--- Diff: storm-core/src/jvm/org/apache/storm/executor/Executor.java ---
@@ -204,8 +204,8 @@ public static Executor mkExecutor(Map workerData,
List<Long> executorId, Map<Str
throw Utils.wrapInRuntime(ex);
}
}
- executor.init(idToTask);
+ executor.idToTask = idToTask;
--- End diff --
@HeartSaVioR It is better to pass `idToTask` object as part of constructor
instead of setting here. idToTask can be created before calling constructor.
---
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.
---