> On May 16, 2019, 11:32 p.m., Sarath Subramanian wrote:
> > repository/src/main/java/org/apache/atlas/repository/store/graph/v2/BulkImporterImpl.java
> > Line 114 (original), 113 (patched)
> > <https://reviews.apache.org/r/70650/diff/2/?file=2145469#file2145469line122>
> >
> >     log exception details inside catch line# 113; this won't be logged 
> > since logRollback is false

This is upto the last known catcher to deal with the exception. In this case, 
it is ImportService who logs it and throws it back over the wire.


> On May 16, 2019, 11:32 p.m., Sarath Subramanian wrote:
> > repository/src/main/java/org/apache/atlas/repository/store/graph/v2/BulkImporterImpl.java
> > Line 119 (original), 119 (patched)
> > <https://reviews.apache.org/r/70650/diff/2/?file=2145469#file2145469line128>
> >
> >     conside adding more details in the debug message.

The exception has a all the details about what field was attempted to be 
modified for what entity. Only thing missing is the value that was attempted to 
be written.


- Ashutosh


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


On May 16, 2019, 4:16 a.m., Ashutosh Mestry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70650/
> -----------------------------------------------------------
> 
> (Updated May 16, 2019, 4:16 a.m.)
> 
> 
> Review request for atlas, Madhan Neethiraj, Nikhil Bonte, Nixon Rodrigues, 
> and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-3193
>     https://issues.apache.org/jira/browse/ATLAS-3193
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> **Approach**
> - Removed the approach of handling _ExportRequest_.
> - New: Approach now handles _AtlasSchemaViolation_ and updates GUIDs after 
> matching _uniqueAttributes_.
> - Update: _GraphTransaction_ updated to conditionally log rollback exception.
> 
> 
> Diffs
> -----
> 
>   common/src/main/java/org/apache/atlas/annotation/GraphTransaction.java 
> 712016620 
>   repository/src/main/java/org/apache/atlas/GraphTransactionInterceptor.java 
> d0db58aa5 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java
>  bf90df19a 
>   
> repository/src/main/java/org/apache/atlas/repository/store/graph/v2/BulkImporterImpl.java
>  82b408db4 
> 
> 
> Diff: https://reviews.apache.org/r/70650/diff/2/
> 
> 
> Testing
> -------
> 
> **Unit tests**
> Existing tests.
> 
> **Functional tests**
> 
> Existing suite.
> 
> **PC Build**
> https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/1105/
> 
> 
> Thanks,
> 
> Ashutosh Mestry
> 
>

Reply via email to