Error:The method setInputPaths(JobConf, String) in the type FileInputFormat is not
来源:互联网 发布:js校验非负正整数 编辑:程序博客网 时间:2024/06/06 05:24
发生错误的原因是导错了包
JobConf是旧API使用的,而我们需要的是新API
所以使用
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
代替原有的
import org.apache.hadoop.mapred.FileInputFormat;
即可
0 0
- Error:The method setInputPaths(JobConf, String) in the type FileInputFormat is not
- The method replace(int, Fragment, String) in the type FragmentTransaction is not applicable for the
- The method replace(int, Fragment, String) in the type FragmentTransaction is not applicable for the,
- The method setValue(String) in the type ParamTag is not applicable for the arguments (long)
- Android Error - The method replace(int, Fragment) in the type FragmentTransaction is not applicable
- The method replace(int, Fragment, String) in the type FragmentTransaction is not applicable...
- he method setAttribute(String,object)in the type HttpSession is not appl
- c:forTokens 报错 The method setItems(String) in the type ForTokensTag is not applicable for the argume
- The method setStatus(int) in the type Goods is not applicable for the arguments (Integer)
- The method setClass(Context, Class<?>) in the type Intent is not applicable for the arguments (GameV
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnKeyListener(View.OnKeyListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the argum
- The method load(Class, Serializable) in the type Session is not applicable for the arguments (Class<
- mysql replace into用法与坑
- 跨进程边界共享内核对象
- Web项目实现通过经纬度获取城市信息---利用百度地图
- jquery全国省市县三级联动
- Java线程:线程的同步-同步方法
- Error:The method setInputPaths(JobConf, String) in the type FileInputFormat is not
- 微信公众平台开发教程(三) 基础框架搭建
- Swift - 启动画面放大淡出效果的实现1(使用launch image)
- C语言 信号处理机制
- arcgis中的标注和注记
- 解决JS弹出新窗口被浏览器阻止的解决方案
- request如何获取请求路径方法
- make otapackage错误:OSError [Error 2]No such file or directory
- 了解这6件脑洞大开的物联网设备,智能城市不再遥远