adoroszlai opened a new pull request, #9387:
URL: https://github.com/apache/ozone/pull/9387

   ## What changes were proposed in this pull request?
   
   Extract existing logic for changing thread pool size.
   
   https://issues.apache.org/jira/browse/HDDS-14023
   
   ## How was this patch tested?
   
   ```
   $ mvn -am -pl :ozone-integration-test -Dtest='TestOzoneIntegrationNonHA' 
clean verify
   ...
   
   $ grep HddsServerUtil 
'hadoop-ozone/integration-test/target/surefire-reports/org.apache.ozone.test.NonHATests$DatanodeReconfiguration-output.txt'
 | cut -c51-
   INFO  utils.HddsServerUtil (HddsServerUtil.java:setPoolSize(754)) - 
org.apache.hadoop.ozone.container.replication.ReplicationServer pool size 
decreased from 10 to 9
   INFO  utils.HddsServerUtil (HddsServerUtil.java:setPoolSize(754)) - 
org.apache.hadoop.ozone.container.replication.ReplicationServer pool size 
increased from 9 to 10
   INFO  utils.HddsServerUtil (HddsServerUtil.java:setPoolSize(754)) - 
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteBlocksCommandHandler
 pool size decreased from 5 to 4
   INFO  utils.HddsServerUtil (HddsServerUtil.java:setPoolSize(754)) - 
org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteBlocksCommandHandler
 pool size increased from 4 to 5
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to