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

Iulian Dragos commented on SPARK-13431:
---------------------------------------

Probably the easiest fix is to break some grammar elements in more files. I 
*think* the problem is deeper though, and there's some state explosion 
generated by an ambiguous part of the grammar.

The Scala compiler would show an error, but the ANTLR generator spits out Java 
files. Definitely those methods are very close to the limit, I saw javac 
failing when using the Eclipse compiler, but the Oracle one was slightly better.

> Maven build fails due to: Method code too large! in Catalyst
> ------------------------------------------------------------
>
>                 Key: SPARK-13431
>                 URL: https://issues.apache.org/jira/browse/SPARK-13431
>             Project: Spark
>          Issue Type: Bug
>          Components: Build, Optimizer
>    Affects Versions: 2.0.0
>            Reporter: Stavros Kontopoulos
>            Priority: Blocker
>
> Cannot build the project when run the normal build commands:
> eg.
> {code}
> build/mvn -Phadoop-2.6 -Dhadoop.version=2.6.0  clean package
> ./make-distribution.sh --name test --tgz -Phadoop-2.6 
> {code}
> Integration builds are also failing: 
> https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-maven-hadoop-2.6/229/console
> https://ci.typesafe.com/job/mit-docker-test-zk-ref/12/console
> It looks like this is the commit that introduced the issue:
> https://github.com/apache/spark/commit/7925071280bfa1570435bde3e93492eaf2167d56



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to