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

(Updated April 12, 2016, 6 a.m.)


Review request for atlas.


Changes
-------

Added Zookeeper lock to allow setup to run exclusively.


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 (updated)
-----

  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/service/CuratorFactory.java 773e04e 
  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

Reply via email to