java.lang.RuntimeException: java.lang.NoSuchMethodException: com.google.hadoop.examples.Simple$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.
tip

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.


rp

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: com.google.hadoop.examples.Simple$MyMapper.() at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:45) at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:32) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:53) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:209) at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:1210) Caused by: java.lang.NoSuchMethodException: com.google.hadoop.examples.Simple$MyMapper.() at java.lang.Class.getConstructor0(Class.java:2705) at java.lang.Class.getDeclaredConstructor(Class.java:1984) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:41) ... 4 more

    Users with the same issue

    Unknown User
    Unknown User2 times, last one,
    tomthomas
    tomthomas1 times, last one,
    tvrmsmith
    tvrmsmith1 times, last one,
    batwalrus76
    batwalrus765 times, last one,
    filpgame
    filpgame1 times, last one,
    109 more bugmates