Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

what is the difference between Entity , classification and relationship in Apache atlas ? & how can we add entity attributes and classification attributes ?

Solved Go to solution

what is the difference between Entity , classification and relationship in Apache atlas ? & how can we add entity attributes and classification attributes ?

New Contributor

Hi Team,

what is the difference between Entity , classification and relationship in Apache atlas ? & how can we add entity attributes and classification attributes ?

Can you please explain ?

Thanks in advance...!!!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: what is the difference between Entity , classification and relationship in Apache atlas ? & how can we add entity attributes and classification attributes ?

Expert Contributor

Entity: Representation of real-world element within Atlas. Atlas will capture aspects of the element that will be relevant from metadata perspective.

Relationship: How entities are related to each other. This relation enforces aspects like lifetime and containment. Different types of relationships:

  • Composition: If one is deleted, the other is deleted as well. E.g. Table and Columns. If table is deleted all the columns will be deleted too.
  • Aggregation: If one is deleted other can continue to exist. E.g. Database and Table. If a table within a database is deleted, database will continue to exist.

Relationships help sound modeling of data.

Classification: This is broad categorization of entities. Entities that are related from a business perspective in some way are classified with same classification. E.g. Sensitive information will reside in several tables in several database in a data warehouse. A classification like 'Sensitive' can be applied to those tables.

Hope this helps!

1 REPLY 1

Re: what is the difference between Entity , classification and relationship in Apache atlas ? & how can we add entity attributes and classification attributes ?

Expert Contributor

Entity: Representation of real-world element within Atlas. Atlas will capture aspects of the element that will be relevant from metadata perspective.

Relationship: How entities are related to each other. This relation enforces aspects like lifetime and containment. Different types of relationships:

  • Composition: If one is deleted, the other is deleted as well. E.g. Table and Columns. If table is deleted all the columns will be deleted too.
  • Aggregation: If one is deleted other can continue to exist. E.g. Database and Table. If a table within a database is deleted, database will continue to exist.

Relationships help sound modeling of data.

Classification: This is broad categorization of entities. Entities that are related from a business perspective in some way are classified with same classification. E.g. Sensitive information will reside in several tables in several database in a data warehouse. A classification like 'Sensitive' can be applied to those tables.

Hope this helps!

Don't have an account?
Coming from Hortonworks? Activate your account here