Sridhar Swamy created ATLAS-3069:
------------------------------------

             Summary: Avoid repeated printing of missing relationship def 
warning messages
                 Key: ATLAS-3069
                 URL: https://issues.apache.org/jira/browse/ATLAS-3069
             Project: Atlas
          Issue Type: Bug
            Reporter: Sridhar Swamy
            Assignee: Sridhar Swamy


Whenever a new entity type is created, Atlas tries to resolve references for 
all entity types present in its type registry. This results in printing of 
redundant warning messages about missing relationship definitions in the Atlas 
logs:
{code:java}
2019-03-06 21:33:33,857 WARN - [main:] ~ No RelationshipDef defined between 
Referenceable and AtlasServer on attribute: Referenceable.replicatedFrom 
(AtlasEntityType:185)
2019-03-06 21:33:33,857 WARN - [main:] ~ No RelationshipDef defined between 
Referenceable and AtlasServer on attribute: Referenceable.replicatedTo 
(AtlasEntityType:185)
2019-03-06 21:33:33,858 WARN - [main:] ~ No RelationshipDef defined between 
Table and DB on attribute: Table.db (AtlasEntityType:185)
2019-03-06 21:33:33,858 WARN - [main:] ~ No RelationshipDef defined between 
Table and StorageDesc on attribute: Table.sd (AtlasEntityType:185)
2019-03-06 21:33:33,858 WARN - [main:] ~ No RelationshipDef defined between 
Table and Column on attribute: Table.columns (AtlasEntityType:185)
2019-03-06 21:33:33,859 WARN - [main:] ~ No RelationshipDef defined between 
StorageDesc and Table on attribute: StorageDesc.table (AtlasEntityType:185)
2019-03-06 21:33:33,859 WARN - [main:] ~ No RelationshipDef defined between 
Column and Table on attribute: Column.table (AtlasEntityType:185)
2019-03-06 21:33:33,860 WARN - [main:] ~ No RelationshipDef defined between 
View and DB on attribute: View.db (AtlasEntityType:185)
2019-03-06 21:33:33,860 WARN - [main:] ~ No RelationshipDef defined between 
View and Table on attribute: View.inputTables (AtlasEntityType:185)
2019-03-06 21:33:33,873 WARN - [main:] ~ No RelationshipDef defined between 
Referenceable and AtlasServer on attribute: Referenceable.replicatedFrom 
(AtlasEntityType:185)
2019-03-06 21:33:33,873 WARN - [main:] ~ No RelationshipDef defined between 
Referenceable and AtlasServer on attribute: Referenceable.replicatedTo 
(AtlasEntityType:185)
2019-03-06 21:33:33,874 WARN - [main:] ~ No RelationshipDef defined between 
Table and DB on attribute: Table.db (AtlasEntityType:185)
2019-03-06 21:33:33,874 WARN - [main:] ~ No RelationshipDef defined between 
Table and StorageDesc on attribute: Table.sd (AtlasEntityType:185)
2019-03-06 21:33:33,875 WARN - [main:] ~ No RelationshipDef defined between 
Table and Column on attribute: Table.columns (AtlasEntityType:185)
2019-03-06 21:33:33,875 WARN - [main:] ~ No RelationshipDef defined between 
StorageDesc and Table on attribute: StorageDesc.table (AtlasEntityType:185)
2019-03-06 21:33:33,876 WARN - [main:] ~ No RelationshipDef defined between 
Column and Table on attribute: Column.table (AtlasEntityType:185)
2019-03-06 21:33:33,876 WARN - [main:] ~ No RelationshipDef defined between 
View and DB on attribute: View.db (AtlasEntityType:185)
2019-03-06 21:33:33,876 WARN - [main:] ~ No RelationshipDef defined between 
View and Table on attribute: View.inputTables (AtlasEntityType:185)
...{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to