java.lang.RuntimeException: java.lang.NoSuchMethodException:$MyMapper.()

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.


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

  • CSE 124: Lab 2 - Hadoop
    via by Unknown author,
  • CSE 124: Lab 2 - Hadoop
    via by Unknown author,
  • Hadoop: Troubleshooting
    via by Unknown author,
  • Map-reduce hadoop error
    via Stack Overflow by user2758378
  • map reduce job failing
    via Stack Overflow by Brainchild
  • Chain Mapper Error in configuring object
    via Stack Overflow by Amr
    • java.lang.RuntimeException: java.lang.NoSuchMethodException:$MyMapper.() at org.apache.hadoop.util.ReflectionUtils.newInstance( at org.apache.hadoop.mapred.MapRunner.configure( at org.apache.hadoop.util.ReflectionUtils.newInstance( at at org.apache.hadoop.mapred.TaskTracker$Child.main( Caused by: java.lang.NoSuchMethodException:$MyMapper.() at java.lang.Class.getConstructor0( at java.lang.Class.getDeclaredConstructor( at org.apache.hadoop.util.ReflectionUtils.newInstance( ... 4 more

    Users with the same issue

    Unknown User
    Unknown User2 times, last one,
    tomthomas1 times, last one,
    tvrmsmith1 times, last one,
    batwalrus765 times, last one,
    filpgame1 times, last one,
    109 more bugmates