java.lang.ClassNotFoundException: MyUserNameMapper


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


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.

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

  • GitHub comment 2886#275626070
    via GitHub by jheijkoop
  • Nullpointerexception in Default.jsp
    via by,
  • Ingest Tips / Flume or Kafka? Try both! - Ingest Tips
    via by Unknown author,
  • Glassfish 3.1.2 OSE on IBM J9 JVM
    via by petino,
  • Re: ZooInspector on Mac OS X
    via by Kevin Gao,
  • Error in spark-submit but not in pyspark
    via Stack Overflow by nanounanue
    • java.lang.ClassNotFoundException: MyUserNameMapper at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClassInternal( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at at at

    Users with the same issue

    Andreas Häber
    Andreas Häber1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    zsamboki1 times, last one,
    Pilleo2 times, last one,
    300 more bugmates