Managing High Availability
Also available as:
PDF

Configuring Atlas high availability

In Ambari 2.4.0.0, adding or removing Atlas Metadata Servers requires manually editing the atlas.rest.address property.
  1. In Ambari Web, click Hosts, then select the host on which to install the standby Atlas Metadata Server.
  2. On the Summary page of the new Atlas Metadata Server host, click Add > Atlas Metadata Server.
  3. Complete the wizard steps to add the new Atlas Metadata Server.
    Ambari adds the new Atlas Metadata Server in a Stopped state.
  4. On Services, browse to Atlas > Configs > Advanced.
  5. In Advanced application-properties, append the atlas.rest.address property with a comma and the value for the new Atlas Metadata Server.
    atlas.rest.address property,http(s):[HOST_NAME]:[PORT_NUMBER]
    The default protocol is http. If the atlas.enableTLS property is set to true, use https. The default HTTP port is 21000 and the default HTTPS port is 21443. These values can be overridden using the atlas.server.http.port and atlas.server.https.port properties, respectively.
  6. Stop all running Atlas Metadata Servers.
    Important
    Important
    You must use the Stop command to stop the Atlas Metadata Servers. Do not use a Restart command. This attempts to first stop the newly added Atlas Server, which at this point does not contain any configurations in /etc/atlas/conf.
  7. In Ambari Web, browse to Services > Atlas > Service Actions, then, click Start.
    Ambari automatically configures the following Atlas properties in the /etc/atlas/conf/atlas-application.properties file:
    • atlas.server.ids
    • atlas.server.address.$id
    • atlas.server.ha.enabled
  8. To refresh the configuration files, restart the following services that contain Atlas hooks:
    • Hive
    • Storm
    • Falcon
    • Sqoop
    • Oozie
  9. In Services, browse to Actions > Restart All Required.
    When you update the Atlas configuration settings in Ambari, Ambari marks the services that require restart.
  10. Browse to Oozie > Service Actions, then click Restart All.
    Apache Oozie requires a restart after an Atlas configuration update, but may not be included in the services marked as requiring restart in Ambari.
Review and confirm all recommended configuration changes.