Created on 03-31-2017 09:25 PM
To clear local file cache and user cache for yarn, perform the following:
<property> <name>yarn.nodemanager.local-dirs</name> <value>/hadoop/yarn/local</value> </property>
[yarn@node2 ~]$ cd /hadoop/yarn/local/ [yarn@node2 local]$ ls filecache nmPrivate spark_shuffle usercache [yarn@node2 local]$ rm -rf filecache/ usercache/If there are more than one folder, clean them one by one.
User | Count |
---|---|
758 | |
379 | |
316 | |
309 | |
268 |