hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3218) getRecordWriter need not to check the existence of the output directory
Date Thu, 10 Apr 2008 02:58:05 GMT

    [ 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.


Mime
View raw message