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

In the Properties tab of Composite entity bound to a simple entity, simple entity is not shown.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.8-incubating
    • 0.8-incubating
    • atlas-core
    • None

    Description

      For Example, falcon_feed (Composite entity) has storedin attribute of type falcon_cluster.
      In Properties tab of falcon_feed , storedin attribute value is empty .

      Following is the response of falcon_feed in the current version and the version when the falcon_cluster was shown on UI.

      GET entity response of falcon_feed (current version)

      [{
      	"typeName": "falcon_feed",
      	"attributes": {
      		"owner": "admin",
      		"stored-in": {
      			"typeName": "falcon_cluster",
      			"guid": "5385af7e-635b-4194-95ae-ead65f9b9f37"
      		},
      		"qualifiedName": "hdfsInputFeedqhoac9yjbt@cl1",
      		"name": "hdfsInputFeedqhoac9yjbt",
      		"description": "clicks log",
      		"groups": null,
      		"frequency": "hours(1)",
      		"tags": null
      	},
      	"guid": "c46efdc9-c786-4bf9-8dc3-2aa2940cc817",
      	"status": "ACTIVE",
      	"createdBy": "admin",
      	"updatedBy": "admin",
      	"createTime": 1486454394881,
      	"updateTime": 1486454394881,
      	"version": 0
      }]
      

      GET entity response of falcon_cluster :

      [{
      	"typeName": "falcon_cluster",
      	"attributes": {
      		"owner": "users",
      		"colo": "default",
      		"qualifiedName": "cl1",
      		"name": "cl1",
      		"description": "",
      		"tags": null
      	},
      	"guid": "5385af7e-635b-4194-95ae-ead65f9b9f37",
      	"status": "ACTIVE",
      	"createdBy": "admin",
      	"updatedBy": "admin",
      	"createTime": 1486454368735,
      	"updateTime": 1486454368735,
      	"version": 0
      }]
      

      GET response of falcon_feed (commit id : 143c0f813527c85edc30d3d589837fc20bf9bb04 - randomly picked an older one which was working . Not very particular about this commit)

      {
      	"typeName": "falcon_feed",
      	"attributes": {
      		"owner": "",
      		"stored-in": {
      			"typeName": "falcon_cluster",
      			"guid": "e8844f3a-d833-4f9d-adf9-182a6b4e2112",
      			"status": "ACTIVE",
      			"version": 0
      		},
      		"qualifiedName": "ff1",
      		"name": "ff1",
      		"description": "",
      		"groups": "",
      		"frequency": "ff1",
      		"tags": null
      	},
      	"guid": "25251d36-1a1b-4ced-8d95-9a70df510731",
      	"status": "ACTIVE",
      	"createdBy": "admin",
      	"updatedBy": "admin",
      	"createTime": 1486538189188,
      	"updateTime": 1486538189188,
      	"version": 0
      }
      

      GET entity response of falcon_cluster : (commit id : 143c0f813527c85edc30d3d589837fc20bf9bb04)

      {
      	"typeName": "falcon_cluster",
      	"attributes": {
      		"owner": "",
      		"colo": "colo",
      		"qualifiedName": "cl1",
      		"name": "cl1",
      		"description": "",
      		"tags": null
      	},
      	"guid": "e8844f3a-d833-4f9d-adf9-182a6b4e2112",
      	"status": "ACTIVE",
      	"createdBy": "admin",
      	"updatedBy": "admin",
      	"createTime": 1486538175488,
      	"updateTime": 1486538175488,
      	"version": 0
      }
      
      

      GET request call : /api/atlas/v2/entity/guid/<guid>

      Same happens for hbase_column_family which has hbase_table as one of its attributes and similar such composite entities .

      Attachments

        Issue Links

          Activity

            People

              kevalbhatt Keval Bhatt
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: