« Return to Thread: [jira] Created: (HADOOP-2596) add SequenceFile.createWriter() method that takes block size as parameter

[jira] Commented: (HADOOP-2596) add SequenceFile.createWriter() method that takes block size as parameter

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Arun C Murthy commented on HADOOP-2596:
---------------------------------------

Sigh, looks like another unrelated test failed.

I'm ok about this patch, but then Doug's concern about too many SequenceFile.createWriter methods (HADOOP-938) springs to my mind... thoughts? Doug?

> add SequenceFile.createWriter() method that takes block size as parameter
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-2596
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2596
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: io
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: patch2596.txt
>
>
> Currently it is not possible to create a SequenceFile.Writer using a block size other than the default.
> The createWriter() method should be overloaded with a signature receiving block size as parameter should be added to the the SequenceFile class.
> With all the current signatures for this method there is a significant code duplication, if possible the createWriter() methods  should be refactored to avoid such duplication.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (HADOOP-2596) add SequenceFile.createWriter() method that takes block size as parameter