py4j.Py4JException: Method predict([class org.apache.spark.api.java.JavaRDD]) does not exist

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 Stack Overflow by artemdevel
, 1 year ago
Method predict([class org.apache.spark.api.java.JavaRDD]) does not exist
via github.com by Unknown author, 1 year ago
Method predict([class org.apache.spark.api.java.JavaRDD]) does not exist
via Stack Overflow by pykhnivsky
, 5 months ago
Method estimateKernelDensity([class org.apache.spark.api.java.JavaRDD, class java.lang.Integer, class java.util.ArrayList]) does not exist
via Google Groups by Unknown author, 7 months ago
Method addURL([class java.net.URL]) does not exist
via spark-issues by Apache Spark (JIRA), 2 weeks ago
via Stack Overflow by pipal
, 1 year ago
Method col([class java.util.ArrayList]) does not exist
py4j.Py4JException: Method predict([class org.apache.spark.api.java.JavaRDD]) does not exist
at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:333)
at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:342)
at py4j.Gateway.invoke(Gateway.java:252)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:207)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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