Class Not Found Exception in Mapreduce wordcount job

前端 未结 9 1221
[愿得一人]
[愿得一人] 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

    I also got the same issue and fixed it by removing same WordCount.class file in the same directory from where I am executing my jar. Looks like it is taking the class out side the jar. Try

提交回复
热议问题