[ 
https://issues.apache.org/jira/browse/STORM-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250298#comment-14250298
 ] 

ASF GitHub Bot commented on STORM-595:
--------------------------------------

GitHub user mikert opened a pull request:

    https://github.com/apache/storm/pull/351

    STORM-595 Added support for serialization to SequenceFileBolt

    Added support for org.apache.hadoop.io.serializer.Serialization to the 
SequenceFileBolt. This commit breaks the 0.9.3 API by changing Writable to 
Object in SequenceFormat.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mikert/storm master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/351.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #351
    
----
commit 7a4c9400d5f00e39b06e09cb5a879096ca94d7fe
Author: Mike Thomsen <[email protected]>
Date:   2014-12-14T12:54:59Z

    Added support for serialization to SequenceFileBolt
    
    Added support for org.apache.hadoop.io.serializer.Serialization to the
    SequenceFileBolt. The new SerializableSequenceFormat interface allows
    serialization systems like Avro to be plugged into the SequenceFileBolt.

----


> storm-hdfs can only work with sequence files that use Writables
> ---------------------------------------------------------------
>
>                 Key: STORM-595
>                 URL: https://issues.apache.org/jira/browse/STORM-595
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 0.9.3
>            Reporter: Mike Thomsen
>            Assignee: Mike Thomsen
>            Priority: Minor
>
> The current SequenceFormat interface requires that key() and value() return a 
> class that implements Writable. This limitation makes it impossible to use 
> object serialization systems like Avro or even Java serialization with the 
> HDFS SequenceFileBolt.
> Proposed solution: change SequenceFormat so that key() and value() return an 
> Object, not a Writable. This would keep existing functionality for those 
> implementing Writable support while allowing serialization support for those 
> of us that need it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to