Getting started¶
Hawkore's Advanced Indexing for Apache Ignite is distributed as set of modules for a modified version of Apache Ignite.
Add Hawkore's Maven Repository¶
Add Hawkore's Maven Repository to make sure Hawkore's dependencies are included into your applications:
-
Into your application's pom.xml:
Add below repository to your application pom.xml file:
<repositories> <repository> <id>Hawkore Repository</id> <url>https://repository.hawkore.com/maven2/</url> </repository> </repositories>
-
On global maven settings.xml:
Edit your
[user home directory]/.m2/settings.xml
file and add below profile:<?xml version="1.0" encoding="UTF-8"?> <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <profiles> <profile> <id>hawkore</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> <id>public.hawkore.repository</id> <name>Hawkore's Public repository</name> <url>https://repository.hawkore.com/maven2/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> <id>public.hawkore.repository</id> <name>Hawkore's Public repository</name> <url>https://repository.hawkore.com/maven2/</url> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings>
Build Apache Ignite + HK extensions distribution by your own¶
Build a modified version of Apache Ignite distribution including Hawkore's extensions.
Requirements
- Java >= 1.8.0_65 (OpenJDK and Sun have been tested)
- Maven >= 3.0 for build
Install on local maven repository and docker (optional)
- Clone Apache Ignite modified project:
git clone http://github.com/hawkore/ignite-hk.git
- Change to directory:
cd ignite-hk
- Checkout current version:
git checkout 2.8.1-hk
- Build stand-alone distribution
mvn clean install -Dignite.edition=apache-ignite-lgpl -Prelease,all-java,all-scala,licenses,lgpl,ignored-test,tensorflow -DskipTests -Dmaven.javadoc.skip=true
- Build stand-alone distribution + hk modules:
mvn clean install -U -Pgenerate-assembly-maven,attach-assembly-maven -f modules/hk-distribution
- (Optional) Build stand-alone distribution + hk modules + docker image deployment (requires docker running on local machine):
mvn clean install -U -Pgenerate-assembly-maven,generate-assembly-docker,attach-assembly-maven,attach-assembly-docker -f modules/hk-distribution
NOTE: See hk-distribution README.md for more details.
For more details about Apache Ignite please see its official documentation
Sample project¶
Take a look and clone Hawkore's Apache Ignite extensions sample project for samples.