hadoop mr程序出现The constructor Job(Configuration, String) is deprecated
来源:互联网 发布:fopen提高权限 linux 编辑:程序博客网 时间:2024/05/16 08:16
解决方法如下:
1.添加注解
@SuppressWarnings("deprecation")Job job = new Job(conf, "star");
2.使用 Job.getInstance(Configuration conf,String jobName )静态方法,创建job对象:
Job job = Job.getInstance(conf, "star");
阅读全文
0 0
- hadoop mr程序出现The constructor Job(Configuration, String) is deprecated
- The constructor Job(Configuration,String) is deprecated
- The constructor SchemaExport(Configuration) is deprecated
- The Constructor Date(String) is Deprecated since of JDK 1.1 you should not use it
- Android The constructor GestureDetector(GestureDetector.OnGestureListener) is deprecated
- The method buildSessionFactory() from the type Configuration is deprecated
- WARN conf.Configuration: mapred.output.value.class is deprecated. Instead, use mapreduce.job.output.
- Hadoop启动时出现 Warning HADOOP_HOME is deprecated 的解决方案
- Hadoop启动时出现Warning: $HADOOP_HOME is deprecated.警告
- curl出现Deprecated: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Pl
- 报错The constructor worker(int, String, float) is undefined
- The constructor UrlEncodedFormEntity(List<NameValuePair>, String) is undefined
- Warning: $HADOOP_HOME is deprecated. hadoop
- ORA-23421: job number string is not a job in the job queue
- Hadoop执行MR Job的基本过程
- 在使用visual studio 2013写程序时 ,出现了(“The POSIX name for this item is deprecated. Instead, use the ISO C+
- The constructor WeiboAuth(new View.OnClickListener(){}, String, String, String) is undefined
- The type Contacts is deprecated
- 最近遇到的问题
- gRPC 对应Java类型
- Mysql 函数快速查询
- 8.2计数排序
- 面试旧敌之红黑树(直白介绍深入理解)
- hadoop mr程序出现The constructor Job(Configuration, String) is deprecated
- AS开发中设置
- FreeIPA LDAP HA安装
- #HDU 2444 The Accomodation of Students
- GCC 编译详解
- 非极大值抑制——NMS实例
- 下午Libjdx的理解性学习(生如K线博客)
- 冒泡、选择、插入、快排;C/C++实现
- 我的Laravel学习之路之Route::resource和Form-Model-Binding,