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

Incorrect initialization order in JavaStreamingContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.1, 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: DStreams
    • Labels:

      Description

      sc will be null because it is initialized before sparkContext

      @deprecated("use sparkContext", "0.9.0")
      val sc: JavaSparkContext = sparkContext

      /** The underlying SparkContext */
      val sparkContext = new JavaSparkContext(ssc.sc)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zsxwing Shixiong Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: