Configuring Apache Atlas - Application Properties

All configuration in Atlas uses java properties style configuration. The main configuration file is which is in the conf dir at the deployed location. It consists of the following sections:

Graph Configs

Graph Persistence engine - HBase

Set the following properties to configure JanusGraph to use HBase as the persistence engine. Please refer to link for more details.<ZooKeeper Quorum>

If any further JanusGraph configuration needs to be setup, please prefix the property name with "atlas.graph.".

In addition to setting up configurations, please ensure that environment variable HBASE_CONF_DIR is setup to point to the directory containing HBase configuration file hbase-site.xml.

Graph Index Search Engine

An index search engine is required for ATLAS. This search engine runs separately from the ATLAS server and from the storage backend. Only two search engines are currently supported: Solr and Elasticsearch. Pick the search engine best suited for your environment and follow the configuration instructions below.

Graph Search Index - Solr

Solr installation in Cloud mode is a prerequisite for Apache Atlas use. Set the following properties to configure JanusGraph to use Solr as the index search engine.

# ZK quorum setup for solr as comma separated value. Example:,

# SolrCloud Zookeeper Connection Timeout. Default value is 60000 ms

# SolrCloud Zookeeper Session Timeout. Default value is 60000 ms

Graph Search Index - Elasticsearch (Tech Preview)

Elasticsearch is a prerequisite for Apache Atlas use. Set the following properties to configure JanusGraph to use Elasticsearch as the index search engine.<hostname(s) of the Elasticsearch master nodes comma separated>

Search Configs

Search APIs (DSL, basic search, full-text search) support pagination and have optional limit and offset arguments. Following configs are related to search pagination

# Default limit used when limit is not specified in API

# Maximum limit allowed in API. Limits maximum results that can be fetched to make sure the atlas server doesn't run out of memory

Notification Configs

Refer for Kafka configuration. All Kafka configs should be prefixed with 'atlas.kafka.'

# Kafka servers. Example: localhost:6667

# Zookeeper connect URL for Kafka. Example: localhost:2181

# Setup the following configurations only in test deployments where Kafka is started within Atlas in embedded mode
# atlas.notification.embedded=true

# Setup the following two properties if Kafka is running in Kerberized mode.
# atlas.notification.kafka.service.principal=kafka/_HOST@EXAMPLE.COM
# atlas.notification.kafka.keytab.location=/etc/security/keytabs/kafka.service.keytab

Client Configs


# URL to access Atlas server. For example: http://localhost:21000

Security Properties

SSL config

The following property is used to toggle the SSL feature.


High Availability Properties

The following properties describe High Availability related configuration options:

# Set the following property to true, to enable High Availability. Default = false.

# Specify the list of Atlas instances
# For each instance defined above, define the host and port on which Atlas server listens.

# Specify Zookeeper properties needed for HA.
# Specify the list of services running Zookeeper servers as a comma separated list.,,

# Specify how many times should connection try to be established with a Zookeeper cluster, in case of any connection issues.

# Specify how much time should the server wait before attempting connections to Zookeeper, in case of any connection issues.

# Specify how long a session to Zookeeper should last without inactiviy to be deemed as unreachable.

# Specify the scheme and the identity to be used for setting up ACLs on nodes created in Zookeeper for HA.
# The format of these options is <scheme>:<identity>. For more information refer to
# The 'acl' option allows to specify a scheme, identity pair to setup an ACL for.

# The 'auth' option specifies the authentication that should be used for connecting to Zookeeper.

# Since Zookeeper is a shared service that is typically used by many components,
# it is preferable for each component to set its znodes under a namespace.
# Specify the namespace under which the znodes should be written. Default = /apache_atlas

# Specify number of times a client should retry with an instance before selecting another active instance, or failing an operation.
# Specify interval between retries for a client.

Server Properties

# Set the following property to true, to enable the setup steps to run on each server start. Default = false.

Performance configuration items

The following properties can be used to tune performance of Atlas under specific circumstances:

# The number of times Atlas code tries to acquire a lock (to ensure consistency) while committing a transaction.
# This should be related to the amount of concurrency expected to be supported by the server. For e.g. with retries set to 10, upto 100 threads can concurrently create types in the Atlas system.
# If this is set to a low value (default is 3), concurrent operations might fail with a PermanentLockingException.

# Milliseconds to wait before evicting a cached entry. This should be > x
# If this is set to a low value (default is 10000), warnings on transactions taking too long will occur in the Atlas application log.

# Minimum number of threads in the atlas web server

# Maximum number of threads in the atlas web server

# Keepalive time in secs for the thread pool of the atlas web server

# Queue size for the requests(when max threads are busy) for the atlas web server

Recording performance metrics

To enable performance logs for various Atlas operations (like REST API calls, notification processing), setup the following in atlas-log4j.xml:

  <appender name="perf_appender" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File" value="/var/log/atlas/atlas_perf.log"/>
    <param name="datePattern" value="'.'yyyy-MM-dd"/>
    <param name="append" value="true"/>
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%d|%t|%m%n"/>

   <logger name="org.apache.atlas.perf" additivity="false">
     <level value="debug"/>
     <appender-ref ref="perf_appender"/>