You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/10/28 04:32:33 UTC

[jira] [Commented] (SPARK-4107) Incorrect handling of Channel.read()'s return value may lead to data truncation

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

Apache Spark commented on SPARK-4107:
-------------------------------------

User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/2969

> Incorrect handling of Channel.read()'s return value may lead to data truncation
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-4107
>                 URL: https://issues.apache.org/jira/browse/SPARK-4107
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.1.0, 1.1.1, 1.2.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Blocker
>
> When using {{Channel.read()}}, we need to properly handle the return value and account for the case where we've read fewer bytes than expected.  There are a few places where we don't do this properly, which may lead to incorrect data truncation in rare circumstances.  I've opened a PR to fix this.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org