Joan,
>> I have found that GUID looks like could be assigned from the outside as a >> valid UUID, instead of leting Atlas assign one for you Atlas recognizes externally provided GUIDs only when performing ‘import’. In all other scenarios of entity creation (like notification processing, REST APIs), Atlas doesn’t accept externally given GUIDs. Regards, Madhan From: Jo MailingList <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Friday, December 22, 2017 at 6:03 AM To: "[email protected]" <[email protected]> Subject: Fwd: Unassigned GUID Sorry I did by mistake send a partial incomplete mail. Hello, I have been digging a little bit in the code and I have found that GUID looks like could be assigned from the outside as a valid UUID, instead of leting Atlas assign one for you by inserting a big negative number in the "id" field. But I have tried to create objects with an id provided by me in the id and I get the following exception. 2017-12-22 14:55:13,930 WARN - [NotificationHookConsumer thread-0:] ~ Error handling message (NotificationHookConsumer$HookConsumer:443) org.apache.atlas.exception.AtlasBaseException: Referenced entity aa1da4e0-a2a1-45f3-97b6-77afd9cdf33c is not found at org.apache.atlas.repository.store.graph.v1.IDBasedEntityResolver.resolveEntityReferences(IDBasedEntityResolver.java:74) at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.resolveReferences(AtlasEntityGraphDiscoveryV1.java:173) at org.apache.atlas.repository.store.graph.v1.AtlasEntityGraphDiscoveryV1.discoverEntities(AtlasEntityGraphDiscoveryV1.java:72) at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.preCreateOrUpdate(AtlasEntityStoreV1.java:523) at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:174) at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1.createOrUpdate(AtlasEntityStoreV1.java:193) at org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1$$FastClassBySpringCGLIB$$80c00649.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204). It would be useful for me to be able to deal myself with the guid so that I can save calls to the REST API to consult guid to get the guid to create lineage objects. Do you know what I am doing wrong? Is it not supported this feature yet? Thank you very much, Best regards, Joan
