Data migration scenarios

Updated at:

MaxCompute provides a variety of tools to upload and download data for a wide range of cloud data migration scenarios. This topic describes three common scenarios.

Migrate Hadoop data

MMA, Sqoop, and DataWorks can be used to migrate Hadoop data.

  • For examples of migrating Hadoop data by using DataWorks with DataX, see Hadoop data migration tutorial or the video tutorial Best practices for migrating Hadoop data to MaxCompute.

  • Sqoop runs a MapReduce (MR) job on the original Hadoop cluster to transmit data to MaxCompute in a distributed manner. For details, see the Apache Sqoop documentation.

  • MMA uses Meta Carrier to connect to a Hive Metastore service and retrieve Hive metadata. It uses this metadata to generate DDL statements for creating MaxCompute tables and partitions, and Hive UDTF SQL statements for migrating data. For more information, see MMA overview.

Synchronize data from a database

Select a tool for synchronizing database data to MaxCompute based on the database type and synchronization policy.

Collect logs

Tools such as Flume, Fluentd, and Logstash can be used to collect logs. For scenario examples, see Collect Website Log Data to MaxCompute Using Flume and Massive Log Data Analytics and Applications.