HyukjinKwon opened a new pull request #32502:
URL: https://github.com/apache/spark/pull/32502


   ### What changes were proposed in this pull request?
   
   This PR increases the stack size for Scala compilation in Maven build to fix 
the error:
   
   ```
   java.lang.StackOverflowError
   
scala.reflect.internal.Trees$UnderConstructionTransformer.transform(Trees.scala:1741)
   
scala.reflect.internal.Trees$UnderConstructionTransformer.transform$(Trees.scala:1740)
   
scala.tools.nsc.transform.ExplicitOuter$OuterPathTransformer.transform(ExplicitOuter.scala:289)
   
scala.tools.nsc.transform.ExplicitOuter$ExplicitOuterTransformer.transform(ExplicitOuter.scala:477)
   
scala.tools.nsc.transform.ExplicitOuter$ExplicitOuterTransformer.transform(ExplicitOuter.scala:330)
   
scala.reflect.api.Trees$Transformer.$anonfun$transformStats$1(Trees.scala:2597)
   scala.reflect.api.Trees$Transformer.transformStats(Trees.scala:2595)
   scala.reflect.internal.Trees.itransform(Trees.scala:1404)
   scala.reflect.internal.Trees.itransform$(Trees.scala:1374)
   scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:28)
   scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:28)
   scala.reflect.api.Trees$Transformer.transform(Trees.scala:2563)
   
scala.tools.nsc.transform.TypingTransformers$TypingTransformer.transform(TypingTransformers.scala:51)
   
scala.tools.nsc.transform.ExplicitOuter$OuterPathTransformer.scala$reflect$internal$Trees$UnderConstructionTransformer$$super$transform(ExplicitOuter.scala:212)
   
scala.reflect.internal.Trees$UnderConstructionTransformer.transform(Trees.scala:1745)
   
scala.reflect.internal.Trees$UnderConstructionTransformer.transform$(Trees.scala:1740)
   
scala.tools.nsc.transform.ExplicitOuter$OuterPathTransformer.transform(ExplicitOuter.scala:289)
   
scala.tools.nsc.transform.ExplicitOuter$ExplicitOuterTransformer.transform(ExplicitOuter.scala:477)
   
scala.tools.nsc.transform.ExplicitOuter$ExplicitOuterTransformer.transform(ExplicitOuter.scala:330)
   scala.reflect.internal.Trees.itransform(Trees.scala:1383)
   ```
   
   See https://github.com/apache/spark/runs/2554067779
   
   
   
   ### Why are the changes needed?
   
   To recover JDK 11 compliation
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, dev-only.
   
   ### How was this patch tested?
   
   CI in this PR will test it out.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to