<?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: How to overwrite an existing output file/dir during execution of MapReduce jobs? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-overwrite-an-existing-output-file-dir-during/m-p/214809#M176721</link>
    <description>&lt;P&gt;you can use delete(outputpath,true) method which takes two arguments &lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Path path = new Path(outputDirectory);&lt;/P&gt;&lt;P&gt;path.getFileSystem(conf).delete(path,true);&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 17:41:12 GMT</pubDate>
    <dc:creator>pranay_bomminen</dc:creator>
    <dc:date>2017-10-06T17:41:12Z</dc:date>
  </channel>
</rss>

