Before GaussDB(DWS) reads data from MRS HDFS, you need to create an MRS data source connection that functions as a channel of transporting data warehouse cluster data and MRS cluster data.
Configure parameters as required. For details, see "Cluster Operation Guide > Custom Creation of a Cluster" in the MapReduce Service User Guide.
If you already have a qualified MRS cluster, skip this step.
Parameter |
Description |
---|---|
Data Source |
GaussDB(DWS) database server name. It can contain 3 to 63 characters, including lowercase letters, numbers, and underscores (_), and must start with a lowercase letter. |
Configuration Mode |
The way in which the system obtains files. The options are as follows:
|
Database |
Database where the data source is located. |
Description |
Description of the connection. |
Parameter |
Description |
---|---|
MRS Data Source |
Select an MRS cluster that can be connected to GaussDB(DWS) from the drop-down list box. By default, the custom, hybrid, and analytical MRS clusters that are in the same VPC and subnet as the current GaussDB(DWS) cluster and available to the current user are displayed. After you select an MRS cluster, the system automatically displays whether Kerberos authentication is enabled for the selected cluster. Click View MRS Cluster to view its detailed information. If the MRS Data Source drop-down list is empty, click Create MRS Cluster to create an MRS cluster. |
MRS Account |
Account used when a GaussDB(DWS) cluster connects to an MRS cluster. |
Password |
Password of the connection user. If you change the password, you need to create a connection again. NOTICE:
Ensure the account has been used for logging in to MRS Manager. If you use a new account, you will be asked to change your password when you first log in. In this case, the MRS data source will fail to be configured. |
Use a Machine-Machine Account |
Creates a machine-machine account named dws in MRS and uses it for interaction with MRS. This account is in the supergroup group and has all permissions. If the switch is toggled off, the configured man-machine account will be used. Ensure this account has the permission to access data, or a message will be displayed during data source access, indicating the required file does not exist. |
Parameter |
Description |
---|---|
Authentication Credential |
Keytab file of a user A credential file downloaded from Manager of the MRS cluster. File name format: Username_Timestamp_keytab.tar
|
Client Profile |
Client configuration files of HDFS, Hive, and hosts. When downloading the client, set Select Client Type to Configuration Files Only.
|
Configuration Status turns to Creating. You can view the connection that is successfully created in the MRS data source list and the connection status is Available.