java.lang.NoClassDefFoundError: org/apache/spark/sql/expressions/UserDefinedFunction

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by markyeh
, 1 year ago
org/apache/spark/sql/expressions/UserDefinedFunction
via cloudera.com by Unknown author, 2 years ago
via cloudera.com by Unknown author, 2 years ago
via redhat.com by Unknown author, 2 years ago
org/apache/commons/modeler/Registry
via the-ebook.org by Unknown author, 2 years ago
org/apache/commons/cli/CommandLineParser
via redhat.com by Unknown author, 2 years ago
org/apache/commons/modeler/Registry
java.lang.ClassNotFoundException: org.apache.spark.sql.expressions.UserDefinedFunction
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getMethod0(Class.java:2813)
at java.lang.Class.getMethod(Class.java:1663)
at org.apache.spark.deploy.yarn.ApplicationMaster.startUserApplication(ApplicationMaster.scala:537)
at org.apache.spark.deploy.yarn.ApplicationMaster.runDriver(ApplicationMaster.scala:319)
at org.apache.spark.deploy.yarn.ApplicationMaster.run(ApplicationMaster.scala:185)
at org.apache.spark.deploy.SparkHadoopUtil$$anon$1.run(SparkHadoopUtil.scala:69)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.spark.deploy.yarn.ApplicationMaster$.main(ApplicationMaster.scala:651)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.