EMR Serverless Spark provides a domain name management feature to resolve Domain Name System (DNS) issues in cloud environments. This feature ensures that jobs can correctly and efficiently access external services or resources. This topic describes how to add, modify, and delete domain names for a workspace in the EMR Serverless Spark console.
Limitations
Only IPv4 is supported.
You can add domain names only when the workspace is in the Running state.
Each workspace supports a maximum of 200 IP address-to-domain name mappings.
Usage notes
After you add, modify, or delete a domain name, you must restart the relevant jobs for the changes to take effect. If the jobs are not restarted, the mapping changes will not be applied, which can cause service access errors or business interruptions.
Add a domain name
Go to the domain name management page.
Log on to the E-MapReduce console.
In the navigation pane on the left, click .
In the Actions column of the target workspace, click .
In the Manage Domain Names dialog box, add a mapping between an IP address and a domain name.
Ensure that the domain name and IP address are valid.
Click OK.
Modify a domain name
In the Manage Domain Names dialog box, edit the mapping between the IP address and the domain name.
Ensure that the domain name and IP address are valid.
Click OK.
Delete a domain name
In the Manage Domain Names dialog box, delete the IP address-to-domain name mapping that you want to remove.
Click OK.
Example
The following example shows how to use a domain name to connect to a Hive Metastore service in a VPC.
Add a domain name.
In the Manage Domain Names dialog box, add a mapping between the Hive Metastore domain name and its IP address.

Add a data catalog.
On the Catalog page, click Add Catalog.
In the Add Catalog dialog box, click External Hive Metastore, enter the required information, and then click OK.

For more information, see Connect to an external Hive Metastore Service.
After you complete these configurations, you can use the newly added data catalog in Data Development.