im trying to start nodemanager but im getting below error
|1/1 local-dirs are bad: /yarn/nm; 1/1 log-dirs are bad: /yarn/container-logs|
how to resolve this issues.
What is the storage utilization on these disks? See how much is available and then check yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage to make sure the available disk space is more than this threshold.
Could you please check if you have the local and log folder under the yarn folder? if not lets add these folders and give them yarn:hadoop access and restart NM to see if that fixes the issue.
I do have both the folders under yarn. Can you please suggest any other work around?
@kishore sanchina If you are seeing this error , you are running out of free disk space. Increasing yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage will help in resolving your issue but it is highly recommended to clean up the disk and restart the NM to avoid further disk related issues.
If I delete this folders under "/usr/hadoop/yarn/local" manually, will it impact the service?
I am also facing the same issue. I have checked disk space, its having enough free space. What could be the other reasons for this error please suggest.