----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45929/ -----------------------------------------------------------
(Updated April 14, 2016, 3:24 p.m.) Review request for atlas. Changes ------- Added the ability to run the setup steps as part of Atlas server start for those who don't want to rely on an additional setup step. This is enabled by a configuration (disabled by default) if required. 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 distro/src/conf/atlas-application.properties 4131240 docs/src/site/twiki/Configuration.twiki 023f5a0 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/Atlas.java 58c386d 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