Shixiong Zhu created SPARK-1878:
-----------------------------------

             Summary: Incorrect initialization order in JavaStreamingContext
                 Key: SPARK-1878
                 URL: https://issues.apache.org/jira/browse/SPARK-1878
             Project: Spark
          Issue Type: Bug
          Components: Streaming
    Affects Versions: 0.9.0, 1.0.0, 0.9.1
            Reporter: Shixiong Zhu


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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to