ChenSammi commented on code in PR #4798:
URL: https://github.com/apache/ozone/pull/4798#discussion_r1349618778
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/HddsDatanodeService.java:
##########
@@ -668,4 +679,24 @@ private void checkAdminPrivilege(String operation)
public ReconfigurationHandler getReconfigurationHandler() {
return reconfigurationHandler;
}
+
+ private String reconfigBlockDeleteThreadMax(String value) {
+ getConf().set(HDDS_DATANODE_BLOCK_DELETE_THREAD_MAX, value);
+ conf.getObject(DatanodeConfiguration.class)
+ .setBlockDeleteThreads(Integer.parseInt(value));
Review Comment:
Looks like this line is covered by L684 already. It can be removed.
--
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]