Class Not Found Exception in Mapreduce wordcount job

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

    Use The below code for resolving this Problem. job.setJarByClass(DriverClass.class);

提交回复
热议问题