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

Incorrect initialization order in JavaStreamingContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0, 0.9.1, 1.0.0
    • 1.0.0
    • DStreams

    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

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

            Dates

              Created:
              Updated:
              Resolved: