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

Liwei Lin commented on SPARK-16845:
-----------------------------------

[~dondrake] yea I would expect it to work as long as your .jar file does not 
contain any org.apache.spark binaries, i.e. you're not building a fat jar which 
includes the spark dependencies.

The error message in your attached file indicates it's 
`GeneratedClass$SpecificUnsafeProjection` growing beyond 64K - I believe it's 
somewhat related with `explode` and `project` code generation, which is a 
different issue from the `order` code generation issue covered here. :-D

Would you mind opening a new JIRA for that issue?

> org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificOrdering" 
> grows beyond 64 KB
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16845
>                 URL: https://issues.apache.org/jira/browse/SPARK-16845
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API, ML, MLlib
>    Affects Versions: 2.0.0
>            Reporter: hejie
>         Attachments: error.txt.zip
>
>
> I have a wide table(400 columns), when I try fitting the traindata on all 
> columns,  the fatal error occurs. 
>       ... 46 more
> Caused by: org.codehaus.janino.JaninoRuntimeException: Code of method 
> "(Lorg/apache/spark/sql/catalyst/InternalRow;Lorg/apache/spark/sql/catalyst/InternalRow;)I"
>  of class 
> "org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificOrdering" 
> grows beyond 64 KB
>       at org.codehaus.janino.CodeContext.makeSpace(CodeContext.java:941)
>       at org.codehaus.janino.CodeContext.write(CodeContext.java:854)



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

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

Reply via email to