# mdou-hadoop **Repository Path**: java-quickstart/mdou-hadoop ## Basic Information - **Project Name**: mdou-hadoop - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-15 - **Last Updated**: 2021-02-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Hadoop ## xyz.mdou.hadoop.merge.MergeTest 有三个⽂件file1、file2、file3,⽂件中每⼀⾏都是⼀个数字,如下所示。 输⼊⽂件 file1: 2 32 654 32 15 756 65223 file2: 5956 22 650 92 file3: 26 54 6 请编写 MapReduce 程序实现如下需求: MapReduce 程序读取这三个⽂件,对三个⽂件中的数字进⾏整体升序排序,并输出到⼀个结果⽂件 中,结果⽂件中的每⼀⾏有两个数字(两个数字之间使⽤制表符分隔), 第⼀个数字代表排名,第⼆个 数字代表原始数据 期望输出 1 2 2 6 3 15 4 22 5 26 6 32 7 32 8 54 9 92 10 650 11 654 12 756 13 5956 14 65223