[jira] [Assigned] (SPARK-22607) Set large stack size consistently for tests to avoid StackOverflowError

2017-11-25 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-22607:


Assignee: Apache Spark  (was: Sean Owen)

> Set large stack size consistently for tests to avoid StackOverflowError
> ---
>
> Key: SPARK-22607
> URL: https://issues.apache.org/jira/browse/SPARK-22607
> Project: Spark
>  Issue Type: Bug
>  Components: Build, Tests
>Affects Versions: 2.2.0
>Reporter: Sean Owen
>Assignee: Apache Spark
>Priority: Minor
>
> I was seeing this error while testing the 2.2.1 RC:
> {code}
> java.lang.StackOverflowError: 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:370) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541)
> {code}
> This doesn't seem to happen on Jenkins, for whatever reason. It seems like we 
> set JVM flags for tests inconsistently, and in particular, only set a 4MB 
> stack size for surefire, not scalatest-maven-plugin. Adding {{-Xss4m}} made 
> the test pass for me.
> We can also make sure that all of these pass {{-ea}} consistently.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Assigned] (SPARK-22607) Set large stack size consistently for tests to avoid StackOverflowError

2017-11-25 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-22607:


Assignee: Sean Owen  (was: Apache Spark)

> Set large stack size consistently for tests to avoid StackOverflowError
> ---
>
> Key: SPARK-22607
> URL: https://issues.apache.org/jira/browse/SPARK-22607
> Project: Spark
>  Issue Type: Bug
>  Components: Build, Tests
>Affects Versions: 2.2.0
>Reporter: Sean Owen
>Assignee: Sean Owen
>Priority: Minor
>
> I was seeing this error while testing the 2.2.1 RC:
> {code}
> java.lang.StackOverflowError: 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:370) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541) 
> at org.codehaus.janino.CodeContext.flowAnalysis(CodeContext.java:541)
> {code}
> This doesn't seem to happen on Jenkins, for whatever reason. It seems like we 
> set JVM flags for tests inconsistently, and in particular, only set a 4MB 
> stack size for surefire, not scalatest-maven-plugin. Adding {{-Xss4m}} made 
> the test pass for me.
> We can also make sure that all of these pass {{-ea}} consistently.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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