Skip to main content Skip to complementary content

Update the hosts file

Once started, each EC2 instance is attributed a public and private IP, and a public and private DNS.

The cluster nodes are configured using the private DNS. Therefore, you will update the hosts file of the Talend Studio instance with the private DNS and private IP of your master node.

Procedure

  1. From the Amazon EMR cluster list, expand your running cluster, then click View cluster details.
  2. Expand the Hardware section to see your master and slave nodes.
  3. Click the hyperlink corresponding to the master node. The master node details are displayed, such as its public and private IPs, and its public and private DNS
  4. Update your hosts file, that is to say, on a Windows instance, navigate to C:\Windows\System32\drivers\etc\ and open the hosts file, or on a Linux instance, open the /etc/hosts file.
  5. Edit the hosts file using the public IP addresses and the private DNS names of your cluster nodes.

    As the DNS and IP addresses of the nodes change each time you start a new Amazon EMR cluster, then you must update this file accordingly.

  6. Save and close the file.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!