Installing Atlas using Add Service

You can install Atlas service in your Cloudera Manager instance by using the Add Service method.

  1. From Cloudera Manager, select the Add Service menu option.
  2. On the Add Service page, select Atlas, and click Continue.
  3. On the Atlas: Select Backend page, select the database backend to use for Atlas metadata storage.
    • HBASE (Default) – Uses the horizontally scalable HBase service for JanusGraph storage.
    • POSTGRESQL (RDBMS) – Uses a relational database for JanusGraph storage.
    Figure 1. Atlas: Select Backend page
  4. On the Select Dependencies page, review the required services.

    Ensure that no additional dependencies are required on your Cloudera Manager cluster. The required dependencies vary based on the backend you selected.

    • If you selected HBASE, the HBase service is required.
      Figure 2. HBase dependencies
    • If you selected POSTGRESQL (RDBMS), the HBase service is not required.
      Figure 3. No HBase dependencies
  5. On the Assign Roles page, select the host where Atlas is to be added. Optionally, add the Gateway and click Continue.
    You must assign roles and also ensure that you do not assign additional roles that can impact the overall performance.
    Figure 4. Assign Roles page
  6. If you selected the PostgreSQL backend, the Setup Database page is displayed. Enter the PostgreSQL connection details.

    You can also click Test Connection to validate the credentials and SSL/TLS connectivity before proceeding.

    Table 1. PostgreSQL database setup fields
    Field name Description
    Database Hostname The host name of the PostgreSQL database server. If a non-default port is assigned, use the host:port notation.
    Database Name The name of the Atlas database. The default value is atlas.
    Username The Atlas database user name. The default value is atlas.
    Password The Atlas database user password.
    Figure 5. Setup Database page
  7. Optional: To enforce SSL/TLS for the PostgreSQL connection, enable the JDBC URL override and append the SSL parameters.
    1. Select Yes from the Use JDBC URL Override drop-down list.
    2. In the JDBC URL field, enter the connection string in the following format:
      jdbc:postgresql://<DB-HOST>:<DB-PORT>/<ATLAS-DB>?sslmode=verify-full&sslrootcert=<path-to-database-server-certificate>
  8. Review the changes and check that the following fields, depending on the selected installation type, are selected. For more information, review the Atlas installation prerequisite section.
    • Enable Kerberos Authentication
    • Enable File Authentication

    You must provide the Admin Password.

    Figure 6. Review Changes page
  9. Review the Command Details and ensure that the installation proceeds on the expected lines.
  10. Click Continue on the Command Details page.
    Figure 7. Installing Atlas as a service
    On a fresh cluster (one without existing Atlas Solr collections), the Add Service install command automatically creates the required Solr collections in the cluster Solr service. You do not need to create these collections manually.
  11. On the Summary page, review the installation results and click Finish.

    Confirm that the Atlas service is installed and configured on your Cloudera Manager cluster.

  12. Once the installation is complete, to bring up Atlas on your Cloudera Manager cluster, restart the Atlas service.
  13. Once Atlas is installed, you must restart stale configurations.