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

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

Highlighted

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

Contributor

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?

1 REPLY 1

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

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.

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