java.lang.NoClassDefFoundError: org/apache/spark/Logging

Stack Overflow | jsung8 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 3#287482197

    GitHub | 2 months ago | tomjirsa
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
  2. 0

    Error while running python program for spark streaming with kafka

    Stack Overflow | 2 months ago | turbo
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    createUnionStream failed for EventHub sample

    GitHub | 2 months ago | perthcha
    java.lang.reflect.InvocationTargetException
  5. 0

    adam appassembler script required but does not run

    GitHub | 2 years ago | heuermh
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.spark.Logging

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4. java.lang.ClassLoader.defineClass1(Native Method)
    5. java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    6. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    7. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    8. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    9. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    10. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    11. java.security.AccessController.doPrivileged(Native Method)
    12. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    14. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    14 frames
  3. Spark Project External Twitter
    TwitterUtils$.createStream
    1. org.apache.spark.streaming.twitter.TwitterUtils$.createStream(TwitterUtils.scala:44)
    1 frame
  4. Unknown
    TwitterStreamingApp.main
    1. TwitterStreamingApp$.main(TwitterStreamingApp.scala:42)
    2. TwitterStreamingApp.main(TwitterStreamingApp.scala)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:729)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:185)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:210)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:124)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames