GitHub user arunmahadevan opened a pull request:
https://github.com/apache/storm/pull/994
[STORM-1499] Fix Kafka spout to maintain backward compatibility
STORM-1220 introduced some changes where in one place it passes ByteBuffer
as is instead of byte[].
Existing bolts (0.10.0) expects a byte[] and fails with
"java.lang.RuntimeException: java.lang.ClassCastException:
java.nio.HeapByteBuffer cannot be cast to [B "
This patch addresses the issue by emiting byte[] instead of ByteBuffer.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arunmahadevan/storm STORM-1499
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/994.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 #994
----
commit 1eca8a3398679dce7675e72d91527ac05335bd54
Author: Arun Mahadevan <[email protected]>
Date: 2016-01-07T09:56:00Z
[STORM-1499] Fix Kafka spout to maintain backward compatibility
STORM-1220 introduced some changes where in one place it passes ByteBuffer
as is instead of byte[].
Existing bolts (0.10.0) expects a byte[] and fails with
"java.lang.RuntimeException: java.lang.ClassCastException:
java.nio.HeapByteBuffer cannot be cast to [B "
This patch addresses the issue by emiting byte[] instead of ByteBuffer.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---