Github user raghavgautam commented on a diff in the pull request:
https://github.com/apache/storm/pull/1866#discussion_r95460055
--- Diff: storm-core/src/jvm/org/apache/storm/daemon/nimbus/Nimbus.java ---
@@ -3600,7 +3600,7 @@ public ComponentPageInfo getComponentPageInfo(String
topoId, String componentId,
List<Integer> tasks =
compToTasks.get(StormCommon.EVENTLOGGER_COMPONENT_ID);
tasks.sort(null);
// Find the task the events from this component route to.
- int taskIndex =
TupleUtils.listHashCode(Arrays.asList(componentId)) %
+ int taskIndex =
(TupleUtils.listHashCode(Arrays.asList(componentId)) % tasks.size() +
tasks.size()) %
--- End diff --
@arunmahadevan Thanks for pointing this out, I will send another pull
request with the change.
---
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.
---