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

Owen O'Malley commented on HADOOP-7087:
---------------------------------------

Why not just do:

{code}
return createWriter(conf, Writer.file(name.makeQualified(fs)), 
Writer.keyClass(keyClass),
{code}

then all of the code will be removed when the deprecated constructors are 
removed. We won't need to worry about the private FileSystem option being 
forgotten.

> 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