getRecordWriter need not to check the existence of the output directory
-----------------------------------------------------------------------

                 Key: HADOOP-3218
                 URL: https://issues.apache.org/jira/browse/HADOOP-3218
             Project: Hadoop Core
          Issue Type: Bug
            Reporter: Runping Qi



I don't think the code segment in
{code}
    if (!fs.exists(outputPath)) {
      throw new IOException("Output directory doesnt exist");
    }
{code} 
is necessary.
It actually cause unnecessary load to dfs namenode.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to