[
https://issues.apache.org/jira/browse/HADOOP-3218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587469#action_12587469
]
Edward J. Yoon commented on HADOOP-3218:
----------------------------------------
How about moving it to the FileOutputFormat.setOutputPath() from the
RecordWriter?
> 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.