This is an automated email from the ASF dual-hosted git repository. pinal pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new cd6d7bb49 ATLAS-4949: Issues in Atlas docker build cd6d7bb49 is described below commit cd6d7bb495b080a8264d157e1698c35e4a2e5cea Author: Pinal Shah <pinal.s...@freestoneinfotech.com> AuthorDate: Fri Dec 20 02:37:45 2024 +0700 ATLAS-4949: Issues in Atlas docker build Signed-off-by: Pinal Shah <pinal.s...@freestoneinfotech.com> (cherry picked from commit 64087b7f58bced71df91f03f6a1b1b89c3e357eb) --- dev-support/atlas-docker/README.md | 19 ++++++++++++++----- dev-support/atlas-docker/download-archives.sh | 1 + 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/dev-support/atlas-docker/README.md b/dev-support/atlas-docker/README.md index 694d8dbe6..85344349c 100644 --- a/dev-support/atlas-docker/README.md +++ b/dev-support/atlas-docker/README.md @@ -31,20 +31,29 @@ Docker files in this folder create docker images and run them to build Apache At 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 + ~~~ + chmod +x download-archives.sh + ./download-archives.sh + ~~~ -5. Build and deploy Apache Atlas in containers using docker-compose +5. Execute following commands to set environment variables to build Apache Atlas docker containers: + ~~~ + export DOCKER_BUILDKIT=1 + export COMPOSE_DOCKER_CLI_BUILD=1 + ~~~ - 5.1. Execute following command to build Apache Atlas: +6. Build and deploy Apache Atlas in containers using docker-compose + + 6.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: + 6.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!) +7. Atlas Admin can be accessed at http://localhost:21000 (admin/atlasR0cks!) diff --git a/dev-support/atlas-docker/download-archives.sh b/dev-support/atlas-docker/download-archives.sh index b5ede35ab..5d3ba2876 100755 --- a/dev-support/atlas-docker/download-archives.sh +++ b/dev-support/atlas-docker/download-archives.sh @@ -28,6 +28,7 @@ # source .env +mkdir -p downloads downloadIfNotPresent() { local fileName=$1