Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Apache Atlas: Indexing Relationship data into Elasticsearch

avatar
New Member

In have Atlas setup with Cassandra and ES. In ES entity data gets indexed in janusgraph_vertex_index. I want a way to add relationship data as well, so that I can support queries having filters on both Vertex and Edge attributes. How can I enable this use case using Atlas?

1 REPLY 1

avatar
Expert Contributor

Hello @suri07

To support search filtering across both vertex and edge attributes in Apache Atlas without breaking compatibility:

Denormalize the edge attribute into the vertex during ingestion.

  • Add needed relationship info (like producer process type, owner, etc.) as attributes on the entity itself.

  • Use /v2/entity/bulk to ingest this during lineage creation.


Bonus: Automating This

If you're using a metadata ingestion pipeline (e.g., from Airflow, Glue, custom ETL):

  • Fetch related entities' properties.

  • Inject them as attributes during entity creation.

  • Keep a mapping logic (e.g., process’s jobType → dataset’s producing_job_type).