Hi,

I am using atlas hook for creation of entities. But for creating entities
with remote vertex connection like creating Table with DB as a remote
entity is not working.

1- Is there any latest documentation for finding the exact message format
to be used for altas Hook.
2- Does Hooks support creating of complex entities.

Error:
On publishing this msg on Hook:
*{"version":{"version":"1.0.0"},"message":{"type":"ENTITY_CREATE","entities":[{"typeName":"hive_table","values":{"tableType":"MANAGED_TABLE","name":"table@cl8","createTime":"2016-12-28T09:34:53.000Z","temporary":false,"db":{"guid":"96393f8b-4b1c-4d10-b35f-b72eea0bb0a8","typeName":"hive_db"},"qualifiedName":"default.table1@cl8"},"id":{"id":"-­1467290565135246000"}}]}}*


*AtlasBaseException: Invalid instance creation/updation parameters passed :
db={guid=96393f8b-4b1c-4d10-b35f-b72eea0bb0a8, typeName=hive_db}* at
org.apache.atlas.repository.converters.AtlasStructFormatConverter.fromV1ToV2(AtlasStructFormatConverter.java:267)
at
org.apache.atlas.repository.converters.AtlasEntityFormatConverter.fromV1ToV2(AtlasEntityFormatConverter.java:76)
at
org.apache.atlas.repository.converters.AtlasInstanceConverter.fromV1toV2Entity(AtlasInstanceConverter.java:215)

-- 
Thanks & Regards,
Anshu Shukla

Reply via email to