This is an automated email from the ASF dual-hosted git repository.
mandarambawane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new ec7dc21d4 ATLAS-5427: atlas-rest Docker image fails to start on Java 8
base: unrecognized --add-opens JVM options (#780)
ec7dc21d4 is described below
commit ec7dc21d49f5d2f07258c4205c948a65194a0aad
Author: pareshd <[email protected]>
AuthorDate: Wed Oct 7 11:37:46 2026 +0530
ATLAS-5427: atlas-rest Docker image fails to start on Java 8 base:
unrecognized --add-opens JVM options (#780)
Changes:- Remove redundant REST_SERVER_OPTS from compose; document REST
server startup in README.
Co-authored-by: Paresh Devalia <[email protected]>
---
dev-support/atlas-docker/README.md | 24 ++++++++++++++++++++++
.../atlas-docker/docker-compose.atlas-rest.yml | 1 -
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/dev-support/atlas-docker/README.md
b/dev-support/atlas-docker/README.md
index 0be922f07..6623d57a0 100644
--- a/dev-support/atlas-docker/README.md
+++ b/dev-support/atlas-docker/README.md
@@ -81,6 +81,30 @@ Docker files in this folder create docker images and run
them to build Apache At
docker compose -f docker-compose.atlas.yml -f
docker-compose.atlas-hadoop.yml up -d --wait
```
+ 5. To build and start the Atlas REST notification server (`atlas-rest`),
execute following commands after
+ Atlas is running from step 3 or 4 (Kafka and ZooKeeper from the Atlas
stack must be up):
+
+ ```shell
+ docker compose -f docker-compose.atlas.yml -f
docker-compose.atlas-rest.yml up -d --build --wait atlas-rest
+ ```
+
+ If Atlas was started with a backend overlay, include the same compose
files so services share one project:
+
+ ```shell
+ export ATLAS_BACKEND=postgres
+ docker compose -f docker-compose.atlas.yml -f
docker-compose.atlas-postgres.yml -f docker-compose.atlas-rest.yml up -d
--build --wait atlas-rest
+ ```
+
+ ```shell
+ export ATLAS_BACKEND=hbase
+ docker compose -f docker-compose.atlas.yml -f
docker-compose.atlas-hadoop.yml -f docker-compose.atlas-rest.yml up -d --build
--wait atlas-rest
+ ```
+
+ The REST server package is produced by the atlas-build step
+ (`dist/apache-atlas-${ATLAS_VERSION}-rest-server.tar.gz`). Hook
notifications are posted to port **41000**
+ (for example
`http://localhost:41000/rest/api/atlas/v2/notification/topic/{topicName}`). Use
the same
+ admin credentials as Atlas (`admin` / `atlasR0cks!`).
+
Apache Atlas will be installed at /opt/atlas/, and logs are at
/var/log/atlas directory.
7. Atlas Admin can be accessed at http://localhost:21000 (admin/atlasR0cks!)
diff --git a/dev-support/atlas-docker/docker-compose.atlas-rest.yml
b/dev-support/atlas-docker/docker-compose.atlas-rest.yml
index 216ea87eb..ec17ae62c 100644
--- a/dev-support/atlas-docker/docker-compose.atlas-rest.yml
+++ b/dev-support/atlas-docker/docker-compose.atlas-rest.yml
@@ -21,7 +21,6 @@ services:
condition: service_started
environment:
- ATLAS_VERSION
- - REST_SERVER_OPTS=--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
command:
- /home/atlas/scripts/atlas-rest.sh