Umesh Padashetty created ATLAS-3130: ---------------------------------------
Summary: Atlas stops reporting CTAS tables once an invalid relationshipDef is created Key: ATLAS-3130 URL: https://issues.apache.org/jira/browse/ATLAS-3130 Project: Atlas Issue Type: Bug Components: atlas-core Reporter: Umesh Padashetty Created an invalid relationshipDef with the following body {code:java} { "relationshipDefs": [{ "propagateTags": "ONE_TO_TWO", "description": "default relationshipDef description with name: sample_dcef_KcFcR3xIN", "relationshipCategory": "ASSOCIATION", "typeVersion": "1.0", "attributeDefs": [], "endDef2": { "name": "inputs", "isLegacyAttribute": false, "isContainer": false, "cardinality": "SINGLE", "type": "Process", "description": "default relationshipEndDef description with name: inputs" }, "endDef1": { "name": "hive_table_to_process", "isLegacyAttribute": false, "isContainer": false, "cardinality": "SET", "type": "hive_table", "description": "default relationshipEndDef description with name: hive_table_to_process" }, "guid": "-302256315524233986", "name": "sample_dcef_KcFcR3xIN" }] }{code} After this, all the CTAS queries start failing with the following error {code:java} 2019-04-09 17:47:38,992 ERROR - [NotificationHookConsumer thread-0:] ~ graph rollback due to exception (GraphTransactionInterceptor:154) org.apache.atlas.exception.AtlasBaseException: invalid relationshipDef: sample_dcef_KcFcR3xIN: end type 1: Process, end type 2: hive_column_lineage{code} The tables are created in the hive, but they are not reported in Atlas. Creation of such an invalid relationshipDef should ideally be blocked. -- This message was sent by Atlassian JIRA (v7.6.3#76005)