<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Cleaning up  preview-record-buffer tmp files from /data/hadoop/yarn/local in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215677#M63637</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14635/suhelkhan.html" nodeid="14635"&gt;@Suhel&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As mentioned in &lt;A href="https://community.hortonworks.com/questions/35751/manage-yarn-local-log-dirs-space.html" target="_blank"&gt;https://community.hortonworks.com/questions/35751/manage-yarn-local-log-dirs-space.html&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We can safely delete files in /yarn/local if there are no applications running. &lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2017 02:46:48 GMT</pubDate>
    <dc:creator>ssathish</dc:creator>
    <dc:date>2017-06-27T02:46:48Z</dc:date>
    <item>
      <title>Cleaning up  preview-record-buffer tmp files from /data/hadoop/yarn/local</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215676#M63636</link>
      <description>&lt;P&gt;I have a disk running full on one of my Data node:
&lt;/P&gt;&lt;PRE&gt;[ayguha@dh03 hadoop]$ sudo du -h --max-depth=1
674G    ./hdfs
243G    ./yarn
916G    .
&lt;/PRE&gt;&lt;PRE&gt;[xx@dh03 local]$ sudo du -h --max-depth=1
1.4G    ./filecache
3.2G    ./usercache
68K     ./nmPrivate
242G    .
&lt;/PRE&gt;&lt;P&gt;There are over 1k tmp files accumulating in /data/hadoop/yarn/local&lt;/P&gt;&lt;PRE&gt;[ayguha@dh03 local]$ ls -l *.tmp | wc -l
1055


./optimized-preview-record-buffer-2808068b-4d54-492e-a31a-385065d25a408826610818023522318.tmp
./preview-record-buffer-24a7477f-01f0-427e-a032-54866df48b197825057363055390034.tmp
./preview-record-buffer-b22020bb-6ec2-4f73-9d65-65dbba50136e527236496621902098.tmp
[ayguha@dh03 local]$ find ./*preview-record-buffer* -type f -mtime +90 | wc -l
973&lt;/PRE&gt;&lt;P&gt;There are near 1k files that are older than 3 months . Is it safe to delete these files ?&lt;/P&gt;&lt;P&gt;ENV:
Hadoop 2.7.1.2.4.0.0-169
HDP 2.4&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:29:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215676#M63636</guid>
      <dc:creator>suhel_khan</dc:creator>
      <dc:date>2017-06-26T09:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up  preview-record-buffer tmp files from /data/hadoop/yarn/local</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215677#M63637</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14635/suhelkhan.html" nodeid="14635"&gt;@Suhel&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;As mentioned in &lt;A href="https://community.hortonworks.com/questions/35751/manage-yarn-local-log-dirs-space.html" target="_blank"&gt;https://community.hortonworks.com/questions/35751/manage-yarn-local-log-dirs-space.html&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;We can safely delete files in /yarn/local if there are no applications running. &lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 02:46:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215677#M63637</guid>
      <dc:creator>ssathish</dc:creator>
      <dc:date>2017-06-27T02:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning up  preview-record-buffer tmp files from /data/hadoop/yarn/local</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215678#M63638</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/253/ssathish.html" nodeid="253"&gt;@ssathish&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I did look at the Link you posted and decided to delete the file.&lt;/P&gt;&lt;P&gt;
&lt;STRONG&gt;CAUTION:&lt;/STRONG&gt;
For some reason a few hours later there were inconsistencies in the cluster . One of the data nodes (D5) were clean up was done had corruption in the way containers were processed. Some jobs for which containers were lunched in D5 executed to completion successfully and some other jobs failed due to Vertex failed error. We could not find any errors in RM log/Datanode Log/Node Manager Log&lt;/P&gt;&lt;P&gt;We had to remove D5 off the cluster and reinstall node manager to set things right.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 06:21:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cleaning-up-preview-record-buffer-tmp-files-from-data-hadoop/m-p/215678#M63638</guid>
      <dc:creator>suhel_khan</dc:creator>
      <dc:date>2017-06-30T06:21:10Z</dc:date>
    </item>
  </channel>
</rss>

