Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

YARN LOCAL DIRS + deletion

avatar

hi all

Regarding the data-node machines in our ambari cluster

in YARN --> CONFIG ,

we configured that

 yarn.nodemanager.local-dirs  TO   /var/hadoop/yarn/local  

so as we can see blockmgr-XXX folders are created and take a lot space from the local disk ( /var )

is it safe to remove the old blockmgr-XXX folders? ( lets say from 1 day ago )

9433484 /var/hadoop/yarn/local/usercache/airflow/appcache/application_1544689806134_0986/blockmgr-d8628834-137a-4a7b-a833-69a47a4a8d53
9319472 /var/hadoop/yarn/local/usercache/airflow/appcache/application_1544689806134_0986/blockmgr-67632cb1-d552-41b9-9944-31954964ad9c
8588556 /var/hadoop/yarn/local/usercache/airflow/appcache/application_1544689806134_0986/blockmgr-d159be18-ca81-4974-9248-e79ac5db7981
7622108 /var/hadoop/yarn/local/usercache/airflow/appcache/application_1544689806134_0986/blockmgr-766b5a33-8478-4102-9457-47535ba57ddc
Michael-Bronson
1 ACCEPTED SOLUTION

avatar

@Michael Bronson

Yes you can remove old files. Below article help you to with proper steps.

https://community.hortonworks.com/articles/92339/how-to-clear-local-file-cache-and-user-cache-for-y....

Please accept the answer you found most useful.

View solution in original post

3 REPLIES 3

avatar

@Michael Bronson

Yes you can remove old files. Below article help you to with proper steps.

https://community.hortonworks.com/articles/92339/how-to-clear-local-file-cache-and-user-cache-for-y....

Please accept the answer you found most useful.

avatar

avatar