apache/spark — pull request #865 by lemieud (2014-05-23 20:03:25+00:00)
Title: 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.