Skip to content

ATLAS-5059: add support for rdbms backend and audit repository - #389

Closed
mneethiraj wants to merge 2 commits into
apache:masterfrom
mneethiraj:ATLAS-5059
Closed

ATLAS-5059: add support for rdbms backend and audit repository#389
mneethiraj wants to merge 2 commits into
apache:masterfrom
mneethiraj:ATLAS-5059

Conversation

@mneethiraj

@mneethiraj mneethiraj commented Jun 20, 2025

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

enhancements to support using Postgres as the backend store for JanusGraph and entity-audit, replacing HBase.

How was this patch tested?

Verified that Atlas:

  • starts up successfully with configuration set to use Postgres as the backend storage\
  • successfully processes notifications, which stores the data in Postgres
  • successfully serve search APIs

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for a new RDBMS backend using PostgreSQL for JanusGraph and the entity-audit repository, replacing the existing HBase configuration.

  • Introduces new modules (e.g. DaoManager, RdbmsStoreManager, RdbmsStore, etc.) for RDBMS support.
  • Integrates changes in AtlasJanusGraphDatabase via reflection to inject the new store manager and updates docker configuration and scripts to enable Postgres backend.

Reviewed Changes

Copilot reviewed 20 out of 44 changed files in this pull request and generated 3 comments.

File Description
graphdb/janusgraph-rdbms/src/main/java/org/janusgraph/diskstorage/rdbms/dao/DaoManager.java Initializes the JPA layer for RDBMS; iterates persistence providers.
graphdb/janusgraph-rdbms/src/main/java/org/janusgraph/diskstorage/rdbms/RdbmsStore.java Implements the RDBMS-backed KeyColumnValue store with store creation and key mapping logic.
graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java Injects RDBMS support into graphdb via reflection.
Docker and configuration files Update docker-compose and shell scripts to support Postgres as backend.


6.2. Execute following command to install and start Atlas and dependent services (Solr, HBase, Kafka) in containers:
6.2. To install and start Atlas using Postgres as backend store, execute following commands:
export ATLAS_BACKEND=postgres

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to .github/workflows/ci.yml would be required to incorporate the docker changes for CI.

@mneethiraj mneethiraj reopened this Jul 10, 2025
@mneethiraj mneethiraj closed this Jul 17, 2025
@mneethiraj
mneethiraj deleted the ATLAS-5059 branch July 17, 2025 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants