[jira] [Updated] (SPARK-26586) Streaming queries should have isolated SparkSessions and confs

2019-01-11 Thread Shixiong Zhu (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-26586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu updated SPARK-26586:
-
Affects Version/s: 2.2.1
   2.2.2
   2.3.1
   2.3.2

> Streaming queries should have isolated SparkSessions and confs
> --
>
> Key: SPARK-26586
> URL: https://issues.apache.org/jira/browse/SPARK-26586
> Project: Spark
>  Issue Type: Bug
>  Components: SQL, Structured Streaming
>Affects Versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.4.0
>Reporter: Mukul Murthy
>Assignee: Mukul Murthy
>Priority: Major
> Fix For: 2.4.1, 3.0.0
>
>
> When a stream is started, the stream's config is supposed to be frozen and 
> all batches run with the config at start time. However, due to a race 
> condition in creating streams, updating a conf value in the active spark 
> session immediately after starting a stream can lead to the stream getting 
> that updated value.
>  
> The problem is that when StreamingQueryManager creates a MicrobatchExecution 
> (or ContinuousExecution), it passes in the shared spark session, and the 
> spark session isn't cloned until StreamExecution.start() is called. 
> DataStreamWriter.start() should not return until the SparkSession is cloned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-26586) Streaming queries should have isolated SparkSessions and confs

2019-01-11 Thread Shixiong Zhu (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-26586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu updated SPARK-26586:
-
Affects Version/s: 2.2.0

> Streaming queries should have isolated SparkSessions and confs
> --
>
> Key: SPARK-26586
> URL: https://issues.apache.org/jira/browse/SPARK-26586
> Project: Spark
>  Issue Type: Bug
>  Components: SQL, Structured Streaming
>Affects Versions: 2.2.0, 2.3.0, 2.4.0
>Reporter: Mukul Murthy
>Assignee: Mukul Murthy
>Priority: Major
> Fix For: 2.4.1, 3.0.0
>
>
> When a stream is started, the stream's config is supposed to be frozen and 
> all batches run with the config at start time. However, due to a race 
> condition in creating streams, updating a conf value in the active spark 
> session immediately after starting a stream can lead to the stream getting 
> that updated value.
>  
> The problem is that when StreamingQueryManager creates a MicrobatchExecution 
> (or ContinuousExecution), it passes in the shared spark session, and the 
> spark session isn't cloned until StreamExecution.start() is called. 
> DataStreamWriter.start() should not return until the SparkSession is cloned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-26586) Streaming queries should have isolated SparkSessions and confs

2019-01-11 Thread Shixiong Zhu (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-26586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu updated SPARK-26586:
-
Target Version/s: 3.0.0  (was: 2.5.0, 3.0.0)

> Streaming queries should have isolated SparkSessions and confs
> --
>
> Key: SPARK-26586
> URL: https://issues.apache.org/jira/browse/SPARK-26586
> Project: Spark
>  Issue Type: Bug
>  Components: SQL, Structured Streaming
>Affects Versions: 2.3.0, 2.4.0
>Reporter: Mukul Murthy
>Assignee: Mukul Murthy
>Priority: Major
> Fix For: 2.4.1, 3.0.0
>
>
> When a stream is started, the stream's config is supposed to be frozen and 
> all batches run with the config at start time. However, due to a race 
> condition in creating streams, updating a conf value in the active spark 
> session immediately after starting a stream can lead to the stream getting 
> that updated value.
>  
> The problem is that when StreamingQueryManager creates a MicrobatchExecution 
> (or ContinuousExecution), it passes in the shared spark session, and the 
> spark session isn't cloned until StreamExecution.start() is called. 
> DataStreamWriter.start() should not return until the SparkSession is cloned.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org