# mapreduce-practice-05 **Repository Path**: skiinder/mapreduce-practice-05 ## Basic Information - **Project Name**: mapreduce-practice-05 - **Description**: mapreduce练习之五 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-14 - **Last Updated**: 2023-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Mapreduce练习05——Join ### 练习需求: 请编写一个mapreduce程序,实现Join功能。 输入:两个csv文件,分别为 user.csv | user_id | email | register_date | |---------|-----------------------|---------------| | 1 | margarete@example.org | 2022-10-16 | | 2 | brody@example.com | 2022-06-07 | | 3 | thora@example.com | 2022-11-01 | order.csv | order_id | user_id | amount | order_date | |----------|---------|--------|------------| | 1 | 1 | 2710 | 2022-07-26 | | 2 | 2 | 7797 | 2022-03-25 | | 3 | 3 | 9889 | 2022-03-24 | 输出: | order_id | user_id | email | amount | |----------|---------|-----------------------|--------| | 1 | 1 | margarete@example.org | 2710 | | 2 | 2 | brody@example.com | 7797 | | 3 | 3 | thora@example.com | | 输出文件不含表头,列之间用制表符分隔 ### 使用说明: 1. 在**com.atguigu.mapreduce.practice**包中编写MapReduce逻辑; 2. 在**com.atguigu.mapreduce.practice.PracticeDriver**的**run**方法中编写Driver逻辑,并根据执行结果返回0或1; 3. 在**com.atguigu.Runner**控制是否提交。 4. 运行