You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Eric Lo (JIRA)" <ji...@apache.org> on 2018/02/16 23:52:00 UTC

[jira] [Created] (SPARK-23453) ToolBox compiled Spark UDAF causes java.lang.InternalError: Malformed class name

Eric Lo created SPARK-23453:
-------------------------------

             Summary: ToolBox compiled Spark UDAF causes java.lang.InternalError: Malformed class name
                 Key: SPARK-23453
                 URL: https://issues.apache.org/jira/browse/SPARK-23453
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.1
         Environment: Spark 2.2.1
Scala 2.11.11
JDK 1.8
            Reporter: Eric Lo


Here is a weird problem I just ran into... My scenario is that I need to compile UDAF dynamically at runtime but it never worked.

I am using Scala 2.11.11 and Spark 2.2.1, please refer to my [StackOverflow post|https://stackoverflow.com/questions/48820212/toolbox-compiled-spark-udaf-causes-java-lang-internalerror-malformed-class-name] for detailed information. The problem itself is very similar to other Malformed class name tickets (for example - [https://github.com/apache/spark/pull/9568]) - which were caused by calling getSimpleName of nested class/object but actually it is different in this case and the problem is still there. The getSimpleName issue has been fixed in Java 9 which Spark doesn't support it yet...so...any solution/workaround is appreciated.



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

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