You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (Jira)" <ji...@apache.org> on 2021/01/29 17:57:00 UTC

[jira] [Commented] (ATLAS-4115) Ranger Tag Sync via ATLAS

    [ https://issues.apache.org/jira/browse/ATLAS-4115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275227#comment-17275227 ] 

Sarath Subramanian commented on ATLAS-4115:
-------------------------------------------

[https://github.com/apache/atlas/blob/master/addons/models/0000-Area0/0011-glossary_model.json#L228]

AtlasGlossaryCategory is a valid type within Atlas. Can you check with Ranger team if the types has been initialized completely within Ranger

> Ranger Tag Sync via ATLAS
> -------------------------
>
>                 Key: ATLAS-4115
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4115
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Tansheet Izhad
>            Priority: Major
>
> Currently trying to do ranger tag sync with a new in-build apache Atlas. Using the ATLAS_REST_ENDPOINT for the tag sync.
> But getting the following error:
>  
> {code:java}
> 28 Jan 2021 17:17:57 ERROR AtlasRESTTagSource [Thread-7] - 287 failed to download tags from Atlas
> org.apache.atlas.exception.AtlasBaseException: Given typename AtlasGlossaryCategory was invalid
>  at org.apache.atlas.type.AtlasTypeRegistry.getType(AtlasTypeRegistry.java:108)
>  at org.apache.atlas.type.AtlasRelationshipType.resolveReferences(AtlasRelationshipType.java:94)
>  at org.apache.atlas.type.AtlasTypeRegistry$AtlasTransientTypeRegistry.resolveReferences(AtlasTypeRegistry.java:373)
>  at org.apache.atlas.type.AtlasTypeRegistry$AtlasTransientTypeRegistry.addTypes(AtlasTypeRegistry.java:445)
>  at org.apache.ranger.tagsync.source.atlasrest.AtlasRESTTagSource.getAtlasActiveEntities(AtlasRESTTagSource.java:284)
>  at org.apache.ranger.tagsync.source.atlasrest.AtlasRESTTagSource.synchUp(AtlasRESTTagSource.java:217)
>  at org.apache.ranger.tagsync.source.atlasrest.AtlasRESTTagSource.run(AtlasRESTTagSource.java:200)
> {code}
> Looks like it's failing because of invalid Type. But not able to find AtlasGlossaryCategory type on the atlas UI.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)