java.lang.RuntimeException

tip

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

tip

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

tip

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

tip

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 37#238954864
    via GitHub by sebolek
    ,
  • How to integrate java and hive in ubuntu?
    via Stack Overflow by soniya Raj
    ,
  • Spark SQL - PostgreSQL JDBC Classpath Issues
    via Stack Overflow by geowa4
    ,
  • How to test Fiware Cygnus
    via Stack Overflow by sabrina2020
    ,
    • java.lang.RuntimeException: Could not instantiate mapping class com.graphaware.module.ES.mapping.JsonFileMapping : com.graphaware.module.ES.mapping.JsonFileMapping at com.graphaware.module.es.util.ServiceLoader.loadMapping(ServiceLoader.java:49) at com.graphaware.module.es.ElasticSearchModuleBootstrapper.doBootstrapModule(ElasticSearchModuleBootstrapper.java:95) at com.graphaware.module.es.ElasticSearchModuleBootstrapper.doBootstrapModule(ElasticSearchModuleBootstrapper.java:32) at com.graphaware.runtime.module.BaseRuntimeModuleBootstrapper.bootstrapModule(BaseRuntimeModuleBootstrapper.java:66) at com.graphaware.runtime.bootstrap.RuntimeKernelExtension.registerModules(RuntimeKernelExtension.java:143) at com.graphaware.runtime.bootstrap.RuntimeKernelExtension.start(RuntimeKernelExtension.java:113) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:86) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140) at org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40) at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108) at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:55) at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107) at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:90) at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:67) at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28) Caused by: java.lang.ClassNotFoundException: com.graphaware.module.ES.mapping.JsonFileMapping at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.graphaware.module.es.util.ServiceLoader.loadMapping(ServiceLoader.java:25) ... 21 more

    Users with the same issue

    SteVio1989
    2 times, last one,
    jf-ast
    1 times, last one,
    David
    2 times, last one,
    andyglick
    95 times, last one,
    bandoca
    2 times, last one,
    1579 more bugmates