Update Hadoop-MapReduce.md
This commit is contained in:
parent
1286af4758
commit
5ac5ef099c
@ -149,7 +149,7 @@ public class WordCountMapper extends Mapper<LongWritable, Text, Text, IntWritabl
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
`WordCountMapper` 继承自 `Mappe` 类,这是一个泛型类,定义如下:
|
`WordCountMapper` 继承自 `Mapper` 类,这是一个泛型类,定义如下:
|
||||||
|
|
||||||
```java
|
```java
|
||||||
WordCountMapper extends Mapper<LongWritable, Text, Text, IntWritable>
|
WordCountMapper extends Mapper<LongWritable, Text, Text, IntWritable>
|
||||||
@ -384,4 +384,4 @@ job.setNumReduceTasks(WordCountDataUtils.WORD_LIST.size());
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div align="center"> <img src="https://gitee.com/heibaiying/BigData-Notes/raw/master/pictures/weixin-desc.png"/> </div>
|
<div align="center"> <img src="https://gitee.com/heibaiying/BigData-Notes/raw/master/pictures/weixin-desc.png"/> </div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user