tree: 48c155c54c33dbe1b85d92e936bda9f4bba767eb [path history] [tgz]
  1. config/
  2. data/
  3. dist/
  4. downloads/
  5. patches/
  6. scripts/
  7. .dockerignore
  8. .env
  9. docker-compose.atlas-base.yml
  10. docker-compose.atlas-build.yml
  11. docker-compose.atlas-hadoop.yml
  12. docker-compose.atlas-hbase.yml
  13. docker-compose.atlas-hive.yml
  14. docker-compose.atlas-kafka.yml
  15. docker-compose.atlas.yml
  16. Dockerfile
  17. Dockerfile.atlas
  18. Dockerfile.atlas-base
  19. Dockerfile.atlas-build
  20. Dockerfile.atlas-db
  21. Dockerfile.atlas-hadoop
  22. Dockerfile.atlas-hbase
  23. Dockerfile.atlas-hive
  24. Dockerfile.atlas-kafka
  25. Dockerfile.atlas-solr
  26. Dockerfile.atlas-zk
  27. download-archives.sh
  28. README.md
dev-support/atlas-docker/README.md

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!)