After you add a Hadoop Distributed File System (HDFS) data source to ApsaraDB for Lindorm (Lindorm), you can use the wide table engine of Lindorm to access data in HDFS. If you need to migrate data in HDFS to a wide table in Lindorm, add an HDFS data source. This topic describes how to add an HDFS data source.

Prerequisites

  • Lindorm Tunnel Service (LTS) for data migration and data synchronization is activated. For more information, see Activate LTS.
  • The IP address of your client is added to the whitelist of your Lindorm instance. For more information, see Configure a whitelist.

Procedure

  1. Log on to the LTS web UI. For more information, see Access LTS.
  2. In the left-side navigation pane, choose Data Source Management > Add Data Source.
    Add a data source
  3. On the Add data source page, configure the following parameters.
    • Name: Enter the name of the data source.
    • Type: Select HDFS2.7.
    • Parameters: Enter the domain name and port of the Namenode in HDFS. The format is hdfs://xnn1:port,xnn2:port.
  4. Click Add.