-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75110/
-----------------------------------------------------------
(Updated Aug. 5, 2024, 11 a.m.)
Review request for atlas, Jayendra Parab, Mandar Ambawane, Pinal Shah, and
Sheetal Shah.
Bugs: ATLAS-4859
https://issues.apache.org/jira/browse/ATLAS-4859
Repository: atlas
Description
-------
While doing an incremental import with multiple classifications associated with
entities it was giving NPE and import was getting failed.
Problem:
This issue occured because Task executor was running in different thread and
then the import one and the task which was first in pending state gets
completed before coming into implementation of code which handles all pending
tasks and hence,it was throwing NullPointerException.
Solution:
Fix by adding null check before executing further.
Diffs (updated)
-----
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java
77ab99a96
Diff: https://reviews.apache.org/r/75110/diff/2/
Changes: https://reviews.apache.org/r/75110/diff/1-2/
Testing
-------
Did manual testing for this and also ran PC.
PC: https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1669/
Thanks,
Priyanshi Shah