[
https://issues.apache.org/jira/browse/ATLAS-3114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811492#comment-16811492
]
Madhan Neethiraj commented on ATLAS-3114:
-----------------------------------------
[~ayushmnnit] - attached file [^Error.txt] doesn't have any error messages.
Can you please look at Atlas server logs for any errors? Few observations from
reviewing [^model.json] and [^AtlasClientV2Test.java]:
- relationship-type rdbms_db_table would add following relationship-attributes:
-- 'rdbms_tables' to entity-type rdbms_db
-- mandatory attribute 'table' to entity-type rdbms_table <== perhaps the end
name should be 'db'?
- createTable() call doesn't set mandatory attribute 'table'. This should have
resulted in an error. Can you please verify that the model attached here is the
one you use in your runs?
- relationship-type rdbms_table_column would add following
relationship-attributes:
-- 'columns' to entity-type rdbms_table
-- mandatory attribute 'column' to entity-type rdbms_column <== perhaps the end
name should be 'table'?
- createColumn() call doesn't set mandatory attribute 'column'. This should
have resulted in an error. Can you please verify that the model attached here
is the one you use in your runs?
- If 'column' attribute is set while creating a column, there is no need to
update the table entity with attribute ATTRIBUTE_COLUMNS
> Issue with concurrent bulk inserts for entities
> -----------------------------------------------
>
> Key: ATLAS-3114
> URL: https://issues.apache.org/jira/browse/ATLAS-3114
> Project: Atlas
> Issue Type: Bug
> Reporter: Ayush Nigam
> Assignee: chaitali borole
> Priority: Major
> Attachments: AtlasClientV2Test.java, Error.txt, model.json
>
>
> We have a model with tables having attribute 'columns' in which we are
> attaching list of object ids for all columns once these are created. We are
> using clientV2 java APIs.
> We are doing bulk operation for columns and parallelizing the tables.
> Sometimes the issue is that bulk creation for columns is successful,i.e.
> atlas don't throw any exception but we get some columns as created,some as
> updated,whereas as none of the columns existed before.Even it misses out some
> entities while creating.Some are created and some are just silently missed
> without throwing an exception.
> So to sum up issue is there for concurrent bulk create/update calls.It works
> for concurrent single entity create/update calls.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)