hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-7087) SequenceFile.createWriter ignores FileSystem parameter
Date Mon, 10 Jan 2011 17:12:46 GMT

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

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

I've never seen user code actually write a SequenceFile to the RawLocalFileSystem, so the
performance loss would only effect unit tests. *smile*

It seems much better to leave the compatibility code in the deprecated methods rather than
pushing it into mainline code. To make it worse, it would be good to remove the internal use
of FileSystem all together to ensure that FileContext is working well. I think it would be
wise to minimize the amount of new code using it.

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


Mime
View raw message