org.apache.hadoop.mapreduce.Job 的所有三个构造函数都已弃用,构造 Job 类的最佳方法是什么? [英] All three constructors of org.apache.hadoop.mapreduce.Job are deprecated, what is the best way to construct a Job class?

查看:15
本文介绍了org.apache.hadoop.mapreduce.Job 的所有三个构造函数都已弃用,构造 Job 类的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有 org.apache.hadoop.mapreduce.Job的三个构造函数已弃用,有没有办法以非弃用的方式构造 Job 类?

All three constructors of org.apache.hadoop.mapreduce.Job are deprecated, is there a way to construct a Job class the non-deprecated way?

谢谢.

推荐答案

我会忽略弃用警告并坚持使用mapred"包,而不是mapreduce".

I would ignore the deprecation warnings and stick with the 'mapred' package, not 'mapreduce'.

此 JIRA MAPREDUCE-1734 删除了对 0.20.3 的弃用.

This JIRA MAPREDUCE-1734 removed the deprecations for 0.20.3.

这篇关于org.apache.hadoop.mapreduce.Job 的所有三个构造函数都已弃用,构造 Job 类的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆