Skip to content

Commit fd1c8b4

Browse files
committed
ATLAS-5059: updated README, removed atlas-hadoop from docker-compose-atlas-common.yml
1 parent 200953d commit fd1c8b4

File tree

3 files changed

+9
-31
lines changed

3 files changed

+9
-31
lines changed

dev-support/atlas-docker/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,24 @@ Docker files in this folder create docker images and run them to build Apache At
4242
export COMPOSE_DOCKER_CLI_BUILD=1
4343
~~~
4444

45-
6. Build and deploy Apache Atlas in containers using docker-compose
45+
6. Build and deploy Apache Atlas in containers using docker compose
4646

4747
6.1. Build atlas-base image with the following commenr
48-
docker-compose -f docker-compose.atlas-base.yml build
48+
docker compose -f docker-compose.atlas-base.yml build
4949

5050
6.2. Ensure that the `${HOME}/.m2` directory exists and Execute following command to build Apache Atlas:
5151
mkdir -p ${HOME}/.m2
52-
docker-compose docker-compose.atlas-build.yml up
52+
docker compose docker-compose.atlas-build.yml up
5353

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

5656
6.3. To install and start Atlas using Postgres as backend store, execute following commands:
5757
export ATLAS_BACKEND=postgres
58-
docker-compose -f docker-compose.atlas.yml up -d --wait
58+
docker compose -f docker-compose.atlas.yml up -d --wait
5959

6060
6.4. To install and start Atlas using HBase as backend store, execute following commands:
6161
export ATLAS_BACKEND=hbase
62-
docker-compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait
62+
docker compose -f docker-compose.atlas.yml -f docker-compose.atlas-hadoop.yml up -d --wait
6363

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

dev-support/atlas-docker/docker-compose.atlas-common.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,4 @@
11
services:
2-
atlas-hadoop:
3-
build:
4-
context: .
5-
dockerfile: Dockerfile.atlas-hadoop
6-
args:
7-
- HADOOP_VERSION=${HADOOP_VERSION}
8-
image: atlas-hadoop
9-
container_name: atlas-hadoop
10-
hostname: atlas-hadoop.example.com
11-
stdin_open: true
12-
tty: true
13-
networks:
14-
- atlas
15-
ports:
16-
- "9000:9000"
17-
- "8088:8088"
18-
healthcheck:
19-
test: [ "CMD-SHELL", "su hdfs -c \"/opt/hadoop/bin/hdfs dfsadmin -report | grep -q 'Live datanodes'\"" ]
20-
interval: 30s
21-
timeout: 10s
22-
retries: 30
23-
start_period: 40s
24-
environment:
25-
- HADOOP_VERSION
26-
272
atlas-solr:
283
build:
294
context: .
@@ -86,4 +61,3 @@ services:
8661
timeout: 10s
8762
retries: 30
8863
start_period: 40s
89-

dev-support/atlas-docker/docker-compose.atlas-hbase.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ services:
3434
environment:
3535
- HBASE_VERSION
3636
- ATLAS_VERSION
37+
38+
networks:
39+
atlas:
40+
name: atlasnw

0 commit comments

Comments
 (0)