hanghangliu commented on code in PR #3487:
URL: https://github.com/apache/gobblin/pull/3487#discussion_r854807868


##########
gobblin-yarn/src/main/java/org/apache/gobblin/yarn/YarnService.java:
##########
@@ -781,6 +818,8 @@ public void onContainersAllocated(List<Container> 
containers) {
               instanceName = null;
             }
           }
+          helixTagAllocatedContainerCount.put(containerHelixTag,

Review Comment:
   Yes, it need to be thread safe, so I put it within the synchronized block.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to