You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Shraddha Pardeshi <sh...@freestoneinfotech.com> on 2021/10/29 07:27:13 UTC
Re: Review Request 73642: ATLAS-1558 Running Quickstart V2 multiple
times throws an exception type already exists
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73642/
-----------------------------------------------------------
(Updated Oct. 29, 2021, 7:27 a.m.)
Review request for atlas, Jayendra Parab, Mandar Ambawane, and Pinal Shah.
Bugs: ATLAS-1558
https://issues.apache.org/jira/browse/ATLAS-1558
Repository: atlas
Description
-------
When you try to run QuickStart V2 multiple times, after the first succesfull run, it throws exception that types already exists. QuickStart should exit gracefully with types already exist message.
Diffs
-----
webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java 5309d1993
Diff: https://reviews.apache.org/r/73642/diff/1/
Testing
-------
Thanks,
Shraddha Pardeshi
Re: Review Request 73642: ATLAS-1558 Running Quickstart V2 multiple
times throws an exception type already exists
Posted by Mandar Ambawane <ma...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73642/#review223701
-----------------------------------------------------------
webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java
Lines 226 (patched)
<https://reviews.apache.org/r/73642/#comment312811>
This is always going to be "True".
Please retrieve error details from the Exception object and then proceed further.
- Mandar Ambawane
On Oct. 29, 2021, 7:27 a.m., Shraddha Pardeshi wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73642/
> -----------------------------------------------------------
>
> (Updated Oct. 29, 2021, 7:27 a.m.)
>
>
> Review request for atlas, Jayendra Parab, Mandar Ambawane, and Pinal Shah.
>
>
> Bugs: ATLAS-1558
> https://issues.apache.org/jira/browse/ATLAS-1558
>
>
> Repository: atlas
>
>
> Description
> -------
>
> When you try to run QuickStart V2 multiple times, after the first succesfull run, it throws exception that types already exists. QuickStart should exit gracefully with types already exist message.
>
>
> Diffs
> -----
>
> webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java 5309d1993
>
>
> Diff: https://reviews.apache.org/r/73642/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Shraddha Pardeshi
>
>
Re: Review Request 73642: ATLAS-1558 Running Quickstart V2 multiple
times throws an exception type already exists
Posted by Nikhil Bonte <bo...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73642/#review223693
-----------------------------------------------------------
webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java
Line 227 (original), 225 (patched)
<https://reviews.apache.org/r/73642/#comment312799>
Suggestion:
If this exception happens, can we run DSL search queries directly assuming that types & entities are already created
OR
We can accept a flag from script to allow just running DSL queries explicitly assuming that types & entities are already created
- Nikhil Bonte
On Oct. 29, 2021, 12:57 p.m., Shraddha Pardeshi wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73642/
> -----------------------------------------------------------
>
> (Updated Oct. 29, 2021, 12:57 p.m.)
>
>
> Review request for atlas, Jayendra Parab, Mandar Ambawane, and Pinal Shah.
>
>
> Bugs: ATLAS-1558
> https://issues.apache.org/jira/browse/ATLAS-1558
>
>
> Repository: atlas
>
>
> Description
> -------
>
> When you try to run QuickStart V2 multiple times, after the first succesfull run, it throws exception that types already exists. QuickStart should exit gracefully with types already exist message.
>
>
> Diffs
> -----
>
> webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java 5309d1993
>
>
> Diff: https://reviews.apache.org/r/73642/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Shraddha Pardeshi
>
>