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 22:11:46 GMT

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

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

{quote}
What about also marking the FileSystem Option both private and @deprecated then?
{quote}

Please also include documentation in the Javadoc about it only being used for backwards compatibility.
I still think the other solution is better, less code, and introduces less noise, but it does
introduce a slight incompatibility. 

{quote}
I'm 100% in agreement we should move our internal usage to FileContext, but that's way outside
the scope of this bug.
{quote}

I wasn't asking you too, just pointing out that eventual migration away from FileSystem means
introducing new APIs with FileSystem parameters is increasing the technical debt.

> 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
>            Priority: Blocker
>             Fix For: 0.22.0
>
>         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