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

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

he.qiao created SPARK-21286:
-------------------------------

             Summary: [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