Open source support
MaxCompute is a fast, fully managed data warehouse built for TB-, PB-, and EB-scale analytics. This page covers the open-source tools MaxCompute provides for integration, data ingestion, and distributed computing.
Choose the right tool
Goal | Tool |
Manage MaxCompute resources from Java code | SDK for Java |
Analyze data in Python or use the DataFrame API | SDK for Python (PyODPS) |
Connect from any JDBC-compatible Java application | MaxCompute JDBC |
Run R analytics against MaxCompute | RODPS |
Run tensor-based scientific computing at scale | Mars |
Ingest data from Flume, Sqoop, Kettle, OGG, or Hive | Data collectors |
SDK
MaxCompute provides SDKs for Java and Python. Both let you create, view, and delete MaxCompute tables programmatically.
SDK for Java
Use SDK for Java to manage MaxCompute resources from Java applications.
Documentation: SDK for Java
Support: View the official documentation.
SDK for Python (PyODPS)
PyODPS is the Python SDK for MaxCompute. It supports the DataFrame framework and basic operations on MaxCompute objects, letting you query and analyze data without leaving Python.
Install PyODPS with pip:
pip install pyodpsGitHub: aliyun-odps-python-sdk
Full API reference: PyODPS documentation
Installation guide and limits: Installation guide
Using PyODPS in DataWorks: Use PyODPS in DataWorks
DataFrame API overview: Overview
Support: Submit feedback or open an issue on GitHub.
MaxCompute RODPS
RODPS is the MaxCompute plug-in for R. It lets R users query and analyze MaxCompute data directly from their R environment.
GitHub: ODPS Plugin for R
Support: Open an issue on GitHub.
MaxCompute JDBC
MaxCompute JDBC is the official Java Database Connectivity (JDBC) driver for MaxCompute. It exposes a standard JDBC interface so Java applications can run SQL tasks against MaxCompute.
Mars
Mars is a tensor-based unified distributed computing framework. It lets you run large-scale scientific computing tasks in a few lines of code — work that would otherwise require hundreds of lines of MapReduce code. In addition, Mars improves computing performance.
GitHub: mars-project/mars
Documentation: Mars documentation
Support: Open an issue on GitHub.
Data collectors
MaxCompute provides open-source data collectors for five popular ingestion tools. Each collector uses one of two internal transfer channels:
Transfer mode | Channel | Collectors |
Real-time | DataHub | Apache Flume, Oracle GoldenGate (OGG) |
Batch (offline) | Tunnel | Apache Sqoop, Kettle, Apache Hive Data Transfer user-defined table-valued function (UDTF) |
DataHub is MaxCompute's real-time data transfer channel. Tunnel is the batch data transfer channel.
Source code and setup guides: Aliyun MaxCompute Data Collectors on GitHub and the project wiki
Support: Open an issue on GitHub.