Apache Atlas High Availability
Use the following steps to set up High Availability (HA) for Apache Atlas.
Note | |
---|---|
In Ambari 2.4.0.0, adding or removing Atlas Metadata Servers requires manually editing
the |
Select Hosts on the Ambari dashboard, then select the host on which to install the standby Atlas Metadata Server.
On the Summary page of the new Atlas Metadata Server host, select Add > Atlas Metadata Server and add the new Atlas Metadata Server. Ambari adds the new Atlas Metadata Server in a Stopped state.
Select Atlas > Configs > Advanced, then select Advanced application-properties. Append the
atlas.rest.address property
with a comma and the value for the new Atlas Metadata Server:,http(s):<host_name>:<port_number>
.Note The default protocol is "http". If the
atlas.enableTLS
property is set totrue
, use "https". Also, the default HTTP port is 21000 and the default HTTPS port is 21443. These values can be overridden using theatlas.server.http.port
andatlas.server.https.port
properties, respectively.Stop all of the Atlas Metadata Servers that are currently running.
Important You must use the Stop command to stop the Atlas Metadata Servers. Do not use a Restart command as this attempts to first stop the newly added Atlas Server, which at this point does not contain any configurations in
/etc/atlas/conf
.On the Ambari dashboard, select Atlas > Service Actions > 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
Restart the following services that contain Atlas hooks (in order to refresh the configuration files):
Hive
Storm
Falcon
Sqoop
Oozie
When you update the Atlas configuration settings in Ambari, Ambari marks the services that require restart, and you can select Actions > Restart All Required to restart all services that require a restart.
Important Apache Oozie requires a restart after an Atlas configuration update, but may not be included in the services marked as requiring restart in Ambari. Select Oozie > Service Actions > Restart All to restart Oozie along with the other services.