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 <sa...@apache.org> on 2018/08/21 21:48:39 UTC

Review Request 68459: ATLAS-2833: Associating tag to entity API throws exception since mapGraphToTypedInstance uses outdated transient typesystem information

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68459/
-----------------------------------------------------------

Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, and Madhan Neethiraj.


Bugs: ATLAS-2833
    https://issues.apache.org/jira/browse/ATLAS-2833


Repository: atlas


Description
-------

While associating tag to the entity API throws exception but tag gets associated to the entity and then after entity fetch is not working unless you go to search table and remove the associated tag.

Steps to reproduce.

Create a new tag or run a quick-start
After quick-start or creating tag restart the atlas
Now go tags tab and add new attribute to the any tag
Now associate the same tag to the entity it will show the error.


Diffs
-----

  repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java 5c7cb2e8f 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/ClassType.java 24d2750c3 


Diff: https://reviews.apache.org/r/68459/diff/1/


Testing
-------

Manually verified the steps to reproduce doesn't result in exceptions anymore


Thanks,

Sarath Subramanian


Re: Review Request 68459: ATLAS-2833: Associating tag to entity API throws exception since mapGraphToTypedInstance uses outdated transient typesystem information

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68459/#review207716
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On Aug. 21, 2018, 11:43 p.m., Sarath Subramanian wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68459/
> -----------------------------------------------------------
> 
> (Updated Aug. 21, 2018, 11:43 p.m.)
> 
> 
> Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2833
>     https://issues.apache.org/jira/browse/ATLAS-2833
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> While associating tag to the entity API throws exception but tag gets associated to the entity and then after entity fetch is not working unless you go to search table and remove the associated tag.
> 
> Steps to reproduce.
> 
> Create a new tag or run a quick-start
> After quick-start or creating tag restart the atlas
> Now go tags tab and add new attribute to the any tag
> Now associate the same tag to the entity it will show the error.
> 
> 
> Diffs
> -----
> 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/AbstractDataType.java dc9cdf256 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/EnumType.java bdd0a131d 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/HierarchicalType.java befc705cc 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/IDataType.java 85ddee7aa 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/StructType.java 6f40c1d56 
>   typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java c355ba943 
> 
> 
> Diff: https://reviews.apache.org/r/68459/diff/2/
> 
> 
> Testing
> -------
> 
> Manually verified the steps to reproduce doesn't result in exceptions anymore
> 
> 
> Thanks,
> 
> Sarath Subramanian
> 
>


Re: Review Request 68459: ATLAS-2833: Associating tag to entity API throws exception since mapGraphToTypedInstance uses outdated transient typesystem information

Posted by Sarath Subramanian <sa...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68459/
-----------------------------------------------------------

(Updated Aug. 21, 2018, 4:43 p.m.)


Review request for atlas, Apoorv Naik, Ashutosh Mestry, keval bhatt, and Madhan Neethiraj.


Bugs: ATLAS-2833
    https://issues.apache.org/jira/browse/ATLAS-2833


Repository: atlas


Description
-------

While associating tag to the entity API throws exception but tag gets associated to the entity and then after entity fetch is not working unless you go to search table and remove the associated tag.

Steps to reproduce.

Create a new tag or run a quick-start
After quick-start or creating tag restart the atlas
Now go tags tab and add new attribute to the any tag
Now associate the same tag to the entity it will show the error.


Diffs (updated)
-----

  typesystem/src/main/java/org/apache/atlas/typesystem/types/AbstractDataType.java dc9cdf256 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/EnumType.java bdd0a131d 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/HierarchicalType.java befc705cc 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/IDataType.java 85ddee7aa 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/StructType.java 6f40c1d56 
  typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java c355ba943 


Diff: https://reviews.apache.org/r/68459/diff/2/

Changes: https://reviews.apache.org/r/68459/diff/1-2/


Testing
-------

Manually verified the steps to reproduce doesn't result in exceptions anymore


Thanks,

Sarath Subramanian