MaxCompute Studio allows you to develop Java user-defined functions (UDFs), MapReduce programs, and Graph programs. Before the development, you must create a MaxCompute Java module. This topic describes how to create a MaxCompute Java module.
Prerequisites
A MaxCompute project is connected. For more information, see Manage project connections.
Procedure
In the top navigation bar of IntelliJ IDEA, choose .
In the left-side navigation pane of the New Module dialog box, click MaxCompute Java.
Configure the directory of the installed Java Development Kit (JDK) as the directory of the Module SDK file and click Next.
Specify Module name and click Finish.
Result
After the preceding steps are complete, MaxCompute Studio automatically creates a Maven module and completes the following actions:
Introduces MaxCompute-related dependencies. For more information, see the POM file that contains the dependencies.
Creates the examples folder to store sample code. For more information, see Module directory.
Creates the warehouse folder to store the data required for local debugging. For more information, see warehouse directory.
What to do next
After you create a MaxCompute Java module, you can develop Java programs. For more information, see the following topics: