Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21286

[spark core UT]Modify a error for unit test

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              heqiao he.qiao
              Reporter:
              heqiao he.qiao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: