[
https://issues.apache.org/jira/browse/ATLAS-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091455#comment-17091455
]
Bolke de Bruin commented on ATLAS-3754:
---------------------------------------
cc [~madhan]
> System/Business Attributes (like homeId) not being saved
> --------------------------------------------------------
>
> Key: ATLAS-3754
> URL: https://issues.apache.org/jira/browse/ATLAS-3754
> Project: Atlas
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Bolke de Bruin
> Priority: Blocker
>
> Since introducing the name spacing attributes that fall outside of the
> typedef i.e. system attributes and business attributes are not being saved
> anymore due to a Noop in AtlasStructType
> {code}
> public AtlasAttribute getAttribute(String attributeName) {
> AtlasAttribute ret = allAttributes.get(attributeName);
> if (ret == null) {
> ret = getSystemAttribute(attributeName);
> }
> if (ret == null) {
> ret = getBusinesAAttribute(attributeName);
> }
> return ret;
> }
> public AtlasAttribute getSystemAttribute(String attributeName) {
> return null;
> }
> public AtlasAttribute getBusinesAAttribute(String attributeName) {
> return null;
> }
> {code}
> {code}
> skipping unchanged entity: AtlasEntity{AtlasStruct{typeName='hdfs_path',
> attributes=[name:electionresults,
> qualifiedName:electionresults.electionresults@Sandbox,
> path:/user/dmaster/electionresults/ls2014.tsv,
> clusterName:Sandbox]}guid='8e6ede0c-22c5-4b41-bee4-757568b4b99a',
> homeId='my_home_id_x', isProxy='false', isIncomplete=false, provenanceType=0,
> status=null, createdBy='null', updatedBy='null', createTime=null,
> updateTime=null, version=0, relationshipAttributes=[], classifications=[],
> meanings=[], customAttributes=[], businessAttributes=[], labels=[]}
> (AtlasEntityStoreV2:1204)
> {code}
> {code}
> skipping unchanged entity: AtlasEntity{AtlasStruct{typeName='hdfs_path',
> attributes=[name:electionresults,
> qualifiedName:electionresults.electionresults@Sandbox,
> path:/user/dmaster/electionresults/ls2014.tsv,
> clusterName:Sandbox]}guid='8e6ede0c-22c5-4b41-bee4-757568b4b99a',
> homeId='my_home_id_2', isProxy='false', isIncomplete=false, provenanceType=0,
> status=null, createdBy='null', updatedBy='null', createTime=null,
> updateTime=null, version=0, relationshipAttributes=[], classifications=[],
> meanings=[], customAttributes=[], businessAttributes=[], labels=[]}
> (AtlasEntityStoreV2:1204)
> {code}
> Note the change in homeId and the entity not being updated
--
This message was sent by Atlassian Jira
(v8.3.4#803005)