Ethanlm commented on a change in pull request #3320:
URL: https://github.com/apache/storm/pull/3320#discussion_r465301242



##########
File path: storm-client/src/jvm/org/apache/storm/daemon/worker/WorkerState.java
##########
@@ -717,11 +718,20 @@ private Assignment getLocalAssignment(IStormClusterState 
stormClusterState, Stri
 
         IWaitStrategy backPressureWaitStrategy = 
IWaitStrategy.createBackPressureWaitStrategy(topologyConf);
         Map<List<Long>, JCQueue> receiveQueueMap = new HashMap<>();
+
+        Map<Integer, String> taskIdToCompId = 
StormCommon.stormTaskInfo(topology, topologyConf);

Review comment:
       Is it possible to reuse `this.taskToComponent`?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to