GitHub user lemieud opened a pull request:
https://github.com/apache/spark/pull/865
Spark 1916
The changes could be ported back to 0.9 as well.
Changing in.read to in.readFully to read the whole input stream rather than
the first 1020 bytes.
This should ok considering that Flume caps the body size to 32K by default.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lemieud/spark SPARK-1916
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/865.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 #865
----
commit a26567339a11307a38e6fedd748aa2133389abe7
Author: David Lemieux <[email protected]>
Date: 2014-05-23T19:52:51Z
Updated SparkFlumeEvent to read the whole stream rather than the first X
bytes.
----
---
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.
---