报错:
yarn运行自定义的mapreducer任务时报错
原因:
可能是打包的jar中携带的第三方hadoop的jar包与运行mapreducer的集群中的hadoop环境的jar包发生版本冲突
解决办法:
在IDEA导出jar包之前,将依赖包中所有hadoop-hdfs-***.jar包删除
yarn运行自定义的mapreducer任务时报错
可能是打包的jar中携带的第三方hadoop的jar包与运行mapreducer的集群中的hadoop环境的jar包发生版本冲突
在IDEA导出jar包之前,将依赖包中所有hadoop-hdfs-***.jar包删除