Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3069

Avoid repeated printing of missing relationship def warning messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0, 2.0.0
    • None
    • None

    Description

      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:

      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)
      ...

      Attachments

        1. ATLAS-3069.patch
          4 kB
          Sridhar Swamy

        Issue Links

          Activity

            People

              sridhar15 Sridhar Swamy
              sridhar15 Sridhar Swamy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h