guihecheng commented on a change in pull request #2290:
URL: https://github.com/apache/ozone/pull/2290#discussion_r648882888
##########
File path:
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/StorageVolumeChecker.java
##########
@@ -109,11 +120,6 @@ public HddsVolumeChecker(ConfigurationSource conf, Timer
timer)
this.timer = timer;
DatanodeConfiguration dnConf = conf.getObject(DatanodeConfiguration.class);
- /**
- * Maximum number of volume failures that can be tolerated without
- * declaring a fatal error.
- */
- int maxVolumeFailuresTolerated = dnConf.getFailedVolumesTolerated();
minDiskCheckGapMs = conf.getTimeDuration(
DFSConfigKeysLegacy.DFS_DATANODE_DISK_CHECK_MIN_GAP_KEY,
Review comment:
Ah yes, there are many legacy configs left, 2-3 are disk checker
related, will fix it here.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]