atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nixon Rodrigues <nixon.rodrig...@freestoneinfotech.com>
Subject Review Request 60868: ATLAS-1940 :- Fix to remove duplicate type which causes Atlas server to fails on startup.
Date Fri, 14 Jul 2017 15:13:47 GMT

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

Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, and Sarath Subramanian.


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


Repository: atlas


Description
-------

Problem:- Atlas server fails to initialize types on startup from graph store due to duplicate
type registered.

Fix :- Added removeDuplicateTypeIfAny method which is called init of typeDef Store to remove
duplicate types if any.


Diffs
-----

  repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
9d9c59d 


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


Testing
-------

Exiting UT and IT are running fine.
Quick Start script running fine.
Created new tags & types. 
Also tried creating duplicate type from rest client and UI which failed to create duplicates.


Thanks,

Nixon Rodrigues


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message