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

Tom White commented on HADOOP-3413:
-----------------------------------

bq. a simple app which writes a SequenceFile with Java Serialization won't be 
able to read it back... 

But it would have to write its own SequenceFileOutputFormat as things stand, so 
while possible, it's not likely to be a common occurrence.

Thanks for picking this up Arun - I hope we can get this fixed in 0.18. There 
are also few other places that can remove their dependency on Writables without 
much effort - e.g. SequenceFileInputFilter, and MultipleOutputFormat (and 
subclasses).

> SequenceFile.Reader doesn't use the Serialization framework
> -----------------------------------------------------------
>
>                 Key: HADOOP-3413
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3413
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.17.0
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>            Priority: Critical
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3413.patch
>
>
> Currently SequenceFile.Reader only works with Writables, since it doesn't use 
> the new Serialization framework. This is a glaring considering that 
> SequenceFile.Writer uses the Serializer and handles arbitrary types via the 
> SerializationFactory.

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