-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73991/
-----------------------------------------------------------
Review request for atlas, Ashutosh Mestry, Jayendra Parab, Pinal Shah, Radhika
Kundam, Sarath Subramanian, and Sidharth Mishra.
Bugs: ATLAS-4605
https://issues.apache.org/jira/browse/ATLAS-4605
Repository: atlas
Description
-------
Because of corrupted data, there may be a chance of having AtlasVertex as an
empty, which means AtlasVertex does not have any property present in it.
This can cause NullPointerException while populating System attributes as well
Normal attributes for AtlasEntity object.
To avoid NullPointerException we need to skip such vertices, so that they
cannot be used to populate system attributes and normal attributes.
Diffs
-----
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
fcd8dfe7f
Diff: https://reviews.apache.org/r/73991/diff/1/
Testing
-------
Sanity testing is done.
Thanks,
Mandar Ambawane