Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Clear YARN usercache?

Clear YARN usercache?


Running the CDH 5.3.0 Quickstart VM; submitted a MR job and it was just sitting in YARN with no indication of progress.




Cloudera Manager shows lots of systems with log out of space errors so I looked through the filesystem for where I could free up space; found what appears to be excessive usage in the YARN usercache folder (6 GB in use).


File location is:



Can I just delete the cache manually or is there a better way?  Is there a way to configure YARN to use less space?






Re: Clear YARN usercache?

Super Collaborator

@dr3x did you check the inodes


Run the commnad df -i on your server and  make sure you don't have an issue with the inodes.

Re: Clear YARN usercache?


Since you have already found the culprit I would recommend you to go  go into CM and adjust the log retention settings for that service.



 enable automatic yarn cache cleanup 

yarn.nodemanager.localizer.cache.cleanup.interval-ms is 600000

also check your 


Don't have an account?
Coming from Hortonworks? Activate your account here