Repository: incubator-atlas Updated Branches: refs/heads/master f4670dd3a -> f4ca40e23
ATLAS-844 Remove titan berkeley and elastic search jars if hbase/solr based profiles are chosen (yhemanth via shwethags) Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/f4ca40e2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/f4ca40e2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/f4ca40e2 Branch: refs/heads/master Commit: f4ca40e239a76d103b4a7584ca72359b70b832b9 Parents: d838cf3 Author: Shwetha GS <[email protected]> Authored: Tue Jun 21 10:11:33 2016 +0530 Committer: Shwetha GS <[email protected]> Committed: Tue Jun 21 10:13:49 2016 +0530 ---------------------------------------------------------------------- docs/src/site/twiki/InstallationSteps.twiki | 15 ++++++++++++ release-log.txt | 1 + webapp/pom.xml | 30 +++++++++++++++++++++--- 3 files changed, 43 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/f4ca40e2/docs/src/site/twiki/InstallationSteps.twiki ---------------------------------------------------------------------- diff --git a/docs/src/site/twiki/InstallationSteps.twiki b/docs/src/site/twiki/InstallationSteps.twiki index 457ca37..09f2b1c 100644 --- a/docs/src/site/twiki/InstallationSteps.twiki +++ b/docs/src/site/twiki/InstallationSteps.twiki @@ -43,6 +43,21 @@ mvn clean package -Pdist,embedded-hbase-solr Using the embedded-hbase-solr profile will configure Atlas so that an HBase instance and a Solr instance will be started and stopped along with the Atlas server by default. +Atlas also supports building a distribution that can use BerkeleyDB and Elastic search as the graph and index backends. +To build a distribution that is configured for these backends, build with the berkeley-elasticsearch profile. + +<verbatim> + +mvn clean package -Pdist,berkeley-elasticsearch + +</verbatim> + +An additional step is required for the binary built using this profile to be used along with the Atlas distribution. +Due to licensing requirements, Atlas does not bundle the BerkeleyDB Java Edition in the tarball. + +You can download the Berkeley DB jar file from the URL: <verbatim>http://download.oracle.com/otn/berkeley-db/je-5.0.73.zip</verbatim> +and copy the je-5.0.73.jar to the ${atlas_home}/libext directory. + Tar can be found in atlas/distro/target/apache-atlas-${project.version}-bin.tar.gz Tar is structured as follows http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/f4ca40e2/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index 457b4f0..9b8c479 100644 --- a/release-log.txt +++ b/release-log.txt @@ -3,6 +3,7 @@ Apache Atlas Release Notes --trunk - unreleased INCOMPATIBLE CHANGES: +ATLAS-844 Remove titan berkeley and elastic search jars if hbase/solr based profiles are chosen (yhemanth via shwethags) ATLAS-819 All user defined types should have a set of common attributes (shwethags) ATLAS-915 Fix docs for import-hive changes (svimal2106 via sumasai) ATLAS-688 import-hive should depend on Hive CLASSPATH jars instead of packaging everything (svimal2106 via sumasai) http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/f4ca40e2/webapp/pom.xml ---------------------------------------------------------------------- diff --git a/webapp/pom.xml b/webapp/pom.xml index bc62f87..e17f64d 100755 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -36,6 +36,7 @@ <properties> <projectBaseDir>${project.basedir}/..</projectBaseDir> <debug.jetty.daemon>true</debug.jetty.daemon> + <packages.to.exclude /> </properties> <profiles> @@ -66,6 +67,26 @@ </plugins> </build> </profile> + <profile> + <!-- default profile is for external HBase and Solr - hence not packaging those jars --> + <id>dist</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <packages.to.exclude>WEB-INF/lib/titan-berkeleyje-${titan.version}.jar,WEB-INF/lib/je-*.jar,WEB-INF/lib/titan-es-${titan.version}.jar,WEB-INF/lib/elasticsearch-*.jar</packages.to.exclude> + </properties> + </profile> + + <profile> + <id>berkeley-elasticsearch</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <packages.to.exclude>WEB-INF/lib/je-*.jar</packages.to.exclude> + </properties> + </profile> </profiles> <dependencies> @@ -323,15 +344,18 @@ <groupId>org.apache.atlas</groupId> <artifactId>atlas-dashboardv2</artifactId> </overlay> - <overlay> - <!-- empty groupId/artifactId represents the current build --> - </overlay> + <overlay> + <!-- empty groupId/artifactId represents the current build --> + </overlay> </overlays> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> + <packagingExcludes> + ${packages.to.exclude} + </packagingExcludes> </configuration> </plugin>
