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 2017/07/03 08:54:00 UTC

[jira] [Commented] (SPARK-21286) [spark core UT]Modify a error for unit test

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

Apache Spark commented on SPARK-21286:
--------------------------------------

User 'Geek-He' has created a pull request for this issue:
https://github.com/apache/spark/pull/18511

> [spark core UT]Modify a error for unit test
> -------------------------------------------
>
>                 Key: SPARK-21286
>                 URL: https://issues.apache.org/jira/browse/SPARK-21286
>             Project: Spark
>          Issue Type: Test
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: he.qiao
>            Priority: Minor
>
> The old code segment:
>  "
> // Submitting RDDInfos with duplicate IDs does nothing
> val rddInfo0Cached = new RDDInfo(0, "freedom", 100, StorageLevel.MEMORY_ONLY, Seq(10))
>  rddInfo0Cached.numCachedPartitions = 1
> val stageInfo0Cached = new StageInfo(0, 0, "0", 100, Seq(rddInfo0), Seq.empty, "details")" 
> should be modified to 
> "
> // Submitting RDDInfos with duplicate IDs does nothing
>     val rddInfo0Cached = new RDDInfo(0, "freedom", 100, StorageLevel.MEMORY_ONLY, Seq(10))
>     rddInfo0Cached.numCachedPartitions = 1
>     val stageInfo0Cached = new StageInfo(0, 0, "0", 100, Seq(rddInfo0Cached), Seq.empty, "details")
> "



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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