Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (2)
avatar
New Member

To clear local file cache and user cache for yarn, perform the following:

  1. Find out the cache location by checking the value of the yarn.nodemanager.local-dirs property :
    <property>       
    <name>yarn.nodemanager.local-dirs</name>       
    <value>/hadoop/yarn/local</value> 
    </property>
  2. Remove filecache and usercache folder located inside the folders that is specified in yarn.nodemanager.local-dirs.
    [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.
  3. Restart YARN service.
40,915 Views
Version history
Last update:
‎03-31-2017 09:25 PM
Updated by:
Contributors