You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2017/07/05 13:15:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Wenchen Fan resolved SPARK-21286.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

Issue resolved by pull request 18511
[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
>             Fix For: 2.3.0
>
>
> 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