You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/06/01 19:07:59 UTC

[jira] [Updated] (SPARK-15601) CircularBuffer's toString() to print only the contents written if buffer isn't full

     [ https://issues.apache.org/jira/browse/SPARK-15601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen updated SPARK-15601:
------------------------------
      Priority: Minor  (was: Trivial)
    Issue Type: Bug  (was: Improvement)

> CircularBuffer's toString() to print only the contents written if buffer isn't full
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-15601
>                 URL: https://issues.apache.org/jira/browse/SPARK-15601
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.1
>            Reporter: Tejas Patil
>            Assignee: Tejas Patil
>            Priority: Minor
>             Fix For: 1.6.2, 2.0.0
>
>
> [~sameerag] suggested this over a PR discussion: https://github.com/apache/spark/pull/12194#discussion_r64495331
> If CircularBuffer isn't full, currently toString() will print some garbage chars along with the content written as is tries to print the entire array allocated for the buffer.



--
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