<?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 How do I delete MultipleOutput files from a map task when the task performs a retry? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-delete-MultipleOutput-files-from-a-map-task-when/m-p/13118#M1877</link>
    <description>&lt;P&gt;I'm using a map-only hadoop task to transfer files from S3 into a local cluster. Along the way, I split the lines into their own directories based on record type using MultipleOutputs. When a map task dies due to S3 connection issues it leaves its MultipleOutput directories, making retries impossible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to avoid this? Can I ask a Map what file a named MultipleOutput will write to and delete them in the setup call?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 08:59:45 GMT</pubDate>
    <dc:creator>Mythobeast</dc:creator>
    <dc:date>2022-09-16T08:59:45Z</dc:date>
    <item>
      <title>How do I delete MultipleOutput files from a map task when the task performs a retry?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-delete-MultipleOutput-files-from-a-map-task-when/m-p/13118#M1877</link>
      <description>&lt;P&gt;I'm using a map-only hadoop task to transfer files from S3 into a local cluster. Along the way, I split the lines into their own directories based on record type using MultipleOutputs. When a map task dies due to S3 connection issues it leaves its MultipleOutput directories, making retries impossible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to avoid this? Can I ask a Map what file a named MultipleOutput will write to and delete them in the setup call?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:59:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-delete-MultipleOutput-files-from-a-map-task-when/m-p/13118#M1877</guid>
      <dc:creator>Mythobeast</dc:creator>
      <dc:date>2022-09-16T08:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I delete MultipleOutput files from a map task when the task performs a retry?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-delete-MultipleOutput-files-from-a-map-task-when/m-p/13842#M1878</link>
      <description>&lt;P&gt;This turned out to be an issue with&lt;SPAN style="line-height: 14px;"&gt;&amp;nbsp;speculative execution. (e.g.&amp;nbsp;&lt;/SPAN&gt;conf.set(&lt;SPAN style="line-height: 14px;"&gt;"mapred.map.tasks.speculative.execution"&lt;/SPAN&gt;, &lt;SPAN style="line-height: 14px;"&gt;"false"&lt;/SPAN&gt;); ) It was causing the job to create a new task before the previous task had cleaned up after itself. It turns out that MultipleOutputs doesn't handle speculative execution very well.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2014 20:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-delete-MultipleOutput-files-from-a-map-task-when/m-p/13842#M1878</guid>
      <dc:creator>Mythobeast</dc:creator>
      <dc:date>2014-06-19T20:01:08Z</dc:date>
    </item>
  </channel>
</rss>

