diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml index 9d37196..5dde657 100644 --- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml +++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml @@ -949,7 +949,7 @@ The minimum fraction of number of disks to be healthy for the nodemanager to launch new containers. This correspond to both - yarn-nodemanager.local-dirs and yarn.nodemanager.log-dirs. i.e. If there + yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs. i.e. If there are less number of healthy local-dirs (or log-dirs) available, then new containers will not be launched on this node. yarn.nodemanager.disk-health-checker.min-healthy-disks @@ -960,15 +960,26 @@ The maximum percentage of disk space utilization allowed after which a disk is marked as bad. Values can range from 0.0 to 100.0. If the value is greater than or equal to 100, the nodemanager will check - for full disk. This applies to yarn-nodemanager.local-dirs and + for full disk. This applies to yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs. yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage 90.0 + The low threshold percentage of disk space used when a bad disk is + marked as good. Values can range from 0.0 to 100.0. This applies to + yarn-nodemanager.local-dirs and yarn.nodemanager.log-dirs. + Note that if its value is more than yarn.nodemanager.disk-health-checker. + max-disk-utilization-per-disk-percentage or not set, it will be set to the same value as + yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage. + yarn.nodemanager.disk-health-checker.disk-utilization-watermark-low-per-disk-percentage + + + + The minimum space that must be available on a disk for - it to be used. This applies to yarn-nodemanager.local-dirs and + it to be used. This applies to yarn.nodemanager.local-dirs and yarn.nodemanager.log-dirs. yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb 0