[
https://issues.apache.org/jira/browse/STORM-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108770#comment-15108770
]
ASF GitHub Bot commented on STORM-1449:
---------------------------------------
Github user revans2 commented on the pull request:
https://github.com/apache/storm/pull/994#issuecomment-173246546
@arunmahadevan There are several incompatibilities. Most of them don't
matter because this is a part of the 1.x release, so rolling upgrades/etc will
not be possible.
The one incompatibility that remains is that you cannot use a pre 1.x kafka
spout on a 1.x cluster. It is always good practice to maintain the versions
the same, but in this case it is required.
KafkaUtils.generateTuples, calls the modified MultScheme.deserialize API
making this a problem.
> Fix Kafka spout to maintain backward compatibility to pass byte[] instead of
> ByteBuffer
> ---------------------------------------------------------------------------------------
>
> Key: STORM-1449
> URL: https://issues.apache.org/jira/browse/STORM-1449
> Project: Apache Storm
> Issue Type: Bug
> Reporter: Arun Mahadevan
> Assignee: Arun Mahadevan
> Fix For: 1.0.0
>
>
> STORM-1220 introduced some changes where in one place it passes ByteBuffer as
> is instead of byte[]. Existing bolts that expects a byte[] fails due to this
> with "java.lang.RuntimeException: java.lang.ClassCastException:
> java.nio.HeapByteBuffer cannot be cast to [B "
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)