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

Todd Lipcon commented on HADOOP-7087:
-------------------------------------

Hi Owen. That's the original direction I went with this patch, but then I 
thought more about it, and decided that it is not quite correct - for example, 
RawLocalFileSystem and LocalFileSystem (checksummed) both use file:/// URLs. 
But {{path.getFileSystem(conf)}} will always return the checksummed version. So 
using {{fs.makeQualified(path)}} in these wrapper functions fails to preserve 
the user's choice of file system when they explicitly want the non-checksummed 
version.

What do you mean by "an option that isn't forward compatible"? Are you 
referring to the FileSystem API going out of style in favor of FileContext?

> SequenceFile.createWriter ignores FileSystem parameter
> ------------------------------------------------------
>
>                 Key: HADOOP-7087
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7087
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-7087.txt
>
>
> The SequenceFile.createWriter methods that take a FileSystem ignore this 
> parameter after HADOOP-6856. This is causing some MR tests to fail and is a 
> breaking change when users pass unqualified paths to these calls.

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