NLineInputFormat
重写了splits
设置参数
mapre duce.input.lineinputformat.linespermap
应用场景
如创建了一个数据源文件,每个Map处理一行,连接不同的数据库
Reduce数量设置成0,是一个Map Only任务
重写了splits
设置参数
mapre duce.input.lineinputformat.linespermap
应用场景
如创建了一个数据源文件,每个Map处理一行,连接不同的数据库
Reduce数量设置成0,是一个Map Only任务