Support Questions

Find answers, ask questions, and share your expertise

yarn usercache filling up /var file system causes nodemanager to fail


running a job in hive, writes cache to /var/hadoop/yarn/local/usercache

This is causing the /var file system to fill up resulting in node manage failures on some nodes and the job to hang.

Is it possible to direct usercache to a different location?


Expert Contributor

@Jon Page

You can't move just the usercache directory, but you can move its parent: set yarn.nodemanager.local-dirs to a different location.