You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/02/08 07:46:41 UTC
[jira] [Created] (ATLAS-1537) In the Properties tab of Composite
entity bound to a simple entity, simple entity is not shown.
Sharmadha Sainath created ATLAS-1537:
----------------------------------------
Summary: In the Properties tab of Composite entity bound to a simple entity, simple entity is not shown.
Key: ATLAS-1537
URL: https://issues.apache.org/jira/browse/ATLAS-1537
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 0.8-incubating
Reporter: Sharmadha Sainath
Fix For: 0.8-incubating
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)
{code}
[{
"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
}]
{code}
GET entity response of falcon_cluster :
{code}
[{
"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
}]
{code}
GET response of falcon_feed (commit id : 143c0f813527c85edc30d3d589837fc20bf9bb04 - randomly picked an older one which was working . Not very particular about this commit)
{code}
{
"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
}
{code}
GET entity response of falcon_cluster : (commit id : 143c0f813527c85edc30d3d589837fc20bf9bb04)
{code}
{
"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
}
{code}
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 .
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)