- 新增 AnnualIndustrialPowerMapper 和 AnnualIndustrialPowerReducer 类 - 新增 MonthlyResidentialPowerMapper 和 MonthlyResidentialPowerReducer 类 - 实现 Main 类,包含三个 MapReduce 作业的运行逻辑 - 添加单元测试 App 和 AppTest - 创建项目配置文件,如 pom.xml、.gitignore等
14 lines
174 B
Java
14 lines
174 B
Java
package org.example;
|
|
|
|
/**
|
|
* Hello world!
|
|
*
|
|
*/
|
|
public class App
|
|
{
|
|
public static void main( String[] args )
|
|
{
|
|
System.out.println( "Hello World!" );
|
|
}
|
|
}
|