Ethanlm commented on a change in pull request #3237: STORM-3259: Adds NUMA
awareness to enable worker pinning
URL: https://github.com/apache/storm/pull/3237#discussion_r404841435
##########
File path:
storm-server/src/main/java/org/apache/storm/daemon/supervisor/BasicContainer.java
##########
@@ -665,8 +666,10 @@ protected String javaCmd(String cmd) {
commandList.addAll(classPathParams);
commandList.add(getWorkerMain(topoVersion));
commandList.add(topologyId);
+ if (numaId != null) {
+ supervisorId += Constants.NUMA_ID_SEPARATOR + numaId;
Review comment:
This way is also fine. Originally it was
```
if (numaId != null) {
this.supervisorId += Constants.NUMA_ID_SEPARATOR + numaId;
}
```
and it changed `this.supervisorId`.
Currently `this.supervisorId` is not changed, so it is fine.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services