Class Not Found Exception in Mapreduce wordcount job

前端 未结 9 1310
[愿得一人]
[愿得一人] 2020-12-11 02:03

i am trying to run a wordcount job in hadoop.but always getting a class not found exception.I am posting the class that i wrote and the command i using to run the job

9条回答
  •  暖寄归人
    2020-12-11 02:29

    Try adding this

    Job job = new Job(conf, "wordcount");
    job.setJarByClass(WordCount.class);
    

提交回复
热议问题