[ 
https://issues.apache.org/jira/browse/HADOOP-4746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653029#action_12653029
 ] 

Doug Cutting commented on HADOOP-4746:
--------------------------------------

Might this be done in FileOutputFormat#checkOutputSpecs()?  That would better 
encapsulate this file-specific operation, and it already throws IOException, so 
it wouldn't break compatibility.

> Ideally setInputPath & getInputPath should be methods of JobConf. 

No, we'd like to keep all file-specific stuff in FileOutputFormat, since jobs 
can take non-file input and output.


> Job output directory should be normalized
> -----------------------------------------
>
>                 Key: HADOOP-4746
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4746
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.18.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.18.3
>
>         Attachments: outDir.patch, outDir1.patch, outDir2-br18.patch, 
> outDir2.patch
>
>
> JobClient should normalize the output directory by calling 
> FileSystem#makeQualified() in order to avoid the problem described in 
> HADOOP-4717.

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