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]
Created 10-25-2021 11:59 AM
I have 5 Hadoop/HDFS nodes running RHEL 7.9, Ambari 2.7.5.0, HDP 3.1.5.
/hadoop/yarn/local/usercache/hive/filecache/ on all of the Hadoop nodes is growing very large and I want to decrease its size.
Is there a YARN setting I can change to lower the amount of filecache specified above? Do I need to manually delete directories that are X days old to clean this up?
Please advise. Thanks! Mike
Created 10-25-2021 07:31 PM
Hello @MikeB
As for automatic clean up not getting triggered, well it may be due to (or at-least related to) this unresolved bug reported on Yarn.
https://issues.apache.org/jira/browse/YARN-4540
You can reduce the below property value to lower the local file cache size.
yarn.nodemanager.localizer.cache.target-size-mb
Created 10-25-2021 07:31 PM
Hello @MikeB
As for automatic clean up not getting triggered, well it may be due to (or at-least related to) this unresolved bug reported on Yarn.
https://issues.apache.org/jira/browse/YARN-4540
You can reduce the below property value to lower the local file cache size.
yarn.nodemanager.localizer.cache.target-size-mb
Created 10-26-2021 01:30 PM
@balajip Is there a preferred way to add that parameter (and the other one in the issue you linked)? Like, should I add it on via Ambari GUI -> YARN configs or edit the proper file (yarn-site.xml?)? If I edit files, which nodes do I edit the files on?
Thanks,
Mike
Created 10-27-2021 03:29 AM
@MikeB You can find/add the property in Ambari--> YARN--> Configs--> Advanced--> Customer yarn-site --> Add/find Property