<?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: Pig user cache files are not automatically removed. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-user-cache-files-are-not-automatically-removed/m-p/140408#M35455</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1816/juanmanuelnieto.html" nodeid="1816"&gt;@Juan Manuel Nieto&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Generally /tmp directory mainly has temporary storage during MapReduce phases. &lt;/P&gt;&lt;P&gt;Mapreduce adds the intermediate data that is kept under /tmp. These files will be automatically cleared out when Mapreduce job execution completes. &lt;/P&gt;&lt;P&gt;Temporary files are also created by pig as it runs on Mapreduce phenomenon. Temporary files deletion happens at the end. Pig does not handle temporary files deletion if the script execution failed or killed. Then we have to handle the situation. This could be better handled by added the lines or changes in the script itself.&lt;/P&gt;&lt;P&gt;For further details I found an article &lt;A target="_blank" href="http://www.lopakalogic.com/articles/hadoop-articles/pig-keeps-temp-files/"&gt;here:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 07:37:42 GMT</pubDate>
    <dc:creator>ssanku</dc:creator>
    <dc:date>2016-07-22T07:37:42Z</dc:date>
    <item>
      <title>Pig user cache files are not automatically removed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-user-cache-files-are-not-automatically-removed/m-p/140407#M35454</link>
      <description>&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;I've the following problem in my HDP 2.4 cluster, the pig user cache files stored in /tmp are not removed and are filling my HDFS filesystem.

Is there any way to configure pig to automatically remove this files after finishing the jobs?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:13:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-user-cache-files-are-not-automatically-removed/m-p/140407#M35454</guid>
      <dc:creator>juan_manuel_nie</dc:creator>
      <dc:date>2016-07-21T18:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pig user cache files are not automatically removed.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-user-cache-files-are-not-automatically-removed/m-p/140408#M35455</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1816/juanmanuelnieto.html" nodeid="1816"&gt;@Juan Manuel Nieto&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Generally /tmp directory mainly has temporary storage during MapReduce phases. &lt;/P&gt;&lt;P&gt;Mapreduce adds the intermediate data that is kept under /tmp. These files will be automatically cleared out when Mapreduce job execution completes. &lt;/P&gt;&lt;P&gt;Temporary files are also created by pig as it runs on Mapreduce phenomenon. Temporary files deletion happens at the end. Pig does not handle temporary files deletion if the script execution failed or killed. Then we have to handle the situation. This could be better handled by added the lines or changes in the script itself.&lt;/P&gt;&lt;P&gt;For further details I found an article &lt;A target="_blank" href="http://www.lopakalogic.com/articles/hadoop-articles/pig-keeps-temp-files/"&gt;here:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 07:37:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-user-cache-files-are-not-automatically-removed/m-p/140408#M35455</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-07-22T07:37:42Z</dc:date>
    </item>
  </channel>
</rss>

