Overview

Docker files in this folder create docker images and run them to build Apache Atlas, deploy Apache Atlas and dependent services in containers.

Usage

  1. Ensure that you have recent version of Docker installed from docker.io (as of this writing: Engine 20.10.5, Compose 1.28.5). Make sure to configure docker with at least 6gb of memory.

  2. Set this folder as your working directory.

  3. Update environment variables in .env file, if necessary

  4. Execute following command to download necessary archives to setup Atlas/HDFS/HBase/Kafka services: ./download-archives.sh

  5. Build and deploy Apache Atlas in containers using docker-compose

    5.1. Execute following command to build Apache Atlas:

     docker-compose -f docker-compose.atlas-base.yml -f docker-compose.atlas-build.yml up
    

    Time taken to complete the build might vary (upto an hour), depending on status of ${HOME}/.m2 directory cache.

    5.2. Execute following command to install and start Atlas and dependent services (Solr, HBase, Kafka) in containers:

     docker-compose -f docker-compose.atlas-base.yml -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml -f docker-compose.atlas-hbase.yml -f docker-compose.atlas-kafka.yml -f docker-compose.atlas-hive.yml up -d
    

    Apache Atlas will be installed at /opt/atlas/, and logs are at /var/logs/atlas directory.

  6. Atlas Admin can be accessed at http://localhost:21000 (admin/atlasR0cks!)