MaxCompute Studio lets you develop Java user-defined functions (UDFs), MapReduce programs, and Graph programs. Before starting development, create a MaxCompute Java module in IntelliJ IDEA to set up the required project structure and dependencies.
Prerequisites
Before you begin, make sure you have:
A MaxCompute project connected to IntelliJ IDEA. See Manage project connections.
Create a MaxCompute Java module
In the IntelliJ IDEA top navigation bar, choose File > New > Module.
In the New Module dialog box, click MaxCompute Java in the left navigation pane.
Set Module SDK to your JDK installation directory, then click Next.
Enter a Module name and click Finish.
Result
MaxCompute Studio automatically creates a Maven module with the following structure:
MaxCompute dependencies: Added to
pom.xml. Open the POM file to view the full dependency list.`examples` folder: Contains sample code. For the full directory reference, see Module directory.
`warehouse` folder: Stores test data for local debugging. See warehouse directory for details on how local debugging uses this folder.
What's next
With the module created, start developing Java programs: