java.lang.RuntimeException

java.lang.NoSuchMethodException: com.google.hadoop.examples.Simple$MyMapper.()

Samebug tips1

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.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web725

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • 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

    Write tip

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

    Users with the same issue

    Eric HendersonEric Henderson
    3 times, last one
    slashslash
    Once,
    Unknown UserUnknown User
    Once,
    Unknown UserUnknown User
    2 times, last one
    tomthomastomthomas
    Once,
    113 more bugmates