[ 
https://issues.apache.org/jira/browse/ATLAS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792045#comment-16792045
 ] 

ASF subversion and git services commented on ATLAS-3069:
--------------------------------------------------------

Commit ca22400ebf425088097b20b33873c15a71d5f908 in atlas's branch 
refs/heads/master from Sridhar Swamy
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=ca22400 ]

ATLAS-3069: avoid repeated warnings of missing relationship-def

Signed-off-by: Madhan Neethiraj <[email protected]>


> 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
>            Priority: Minor
>         Attachments: ATLAS-3069.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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