atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemanth Yamijala <yhema...@gmail.com>
Subject Review Request 45929: ATLAS-628: Starting two Atlas instances at the same time causes exceptions in HA mode.
Date Fri, 08 Apr 2016 13:53:00 GMT

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

Review request for atlas.


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


Repository: atlas


Description
-------

Implements capability in atlas to run a set of registered setup steps. Currently the only
step is setting up the backend graph repository. The intent is to extend this later for setting
up Kafka at least and maybe other things like Solr.


Diffs
-----

  distro/src/bin/atlas_start.py 7db74c0 
  repository/src/main/java/org/apache/atlas/repository/graph/GraphSchemaInitializer.java PRE-CREATION

  server-api/src/main/java/org/apache/atlas/setup/SetupException.java PRE-CREATION 
  server-api/src/main/java/org/apache/atlas/setup/SetupStep.java PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/setup/AtlasSetup.java PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/setup/AtlasSetupModule.java PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/setup/SetupSteps.java PRE-CREATION 
  webapp/src/test/java/org/apache/atlas/web/setup/SetupStepsTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/45929/diff/


Testing
-------

Existing ITs, UTs pass.

* Manually verified setting up with both embedded HBase setup and external HBase setup.
* Also ran atlas HA instances at exactly same time and verified the noted exception does not
happen.


Thanks,

Hemanth Yamijala


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