You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2014/05/19 09:08:37 UTC

[jira] [Commented] (SPARK-1878) Incorrect initialization order in JavaStreamingContext

    [ https://issues.apache.org/jira/browse/SPARK-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001436#comment-14001436 ] 

Shixiong Zhu commented on SPARK-1878:
-------------------------------------

PR: https://github.com/apache/spark/pull/822

> 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
>              Labels: easyfix
>
> 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)