Previously we described How Install Apache Cassandra. Apache Ignite is a distributed database, caching and processing platform. Apache Ignite utilizes RAM as it’s default storage and processing tier making it included in the class of in-memory computing platforms. Data in Ignite is stored in the form of key-value pairs. The database component scales horizontally. How to Install Apache Ignite on Ubuntu Depends on the Purpose. Apache Ignite nodes can be divided into two categories – server and client. Server nodes are for storage and computational purpose which hold both data and indexes and process incoming requests along with computations. Server nodes are data nodes. Client nodes are connection points from applications and services to the distributed database represented as a cluster of server nodes. Client nodes may be embedded in the application code written in Java, C# or C++. There is difference in the way Apache Cassandra used, compared to Apache Ignite. For that reason, we had in-depth guide on Apache Cassandra with some tweak of settings. In shared deployment, Apache Ignite nodes run independently from Apache Spark applications and store state even after Apache Spark jobs die. In Standalone deployment mode, Ignite nodes deployed with Spark Worker nodes. Apache Ignite can be deployed on the Mesos cluster. If you are following some other guide, you should read their purpose of installation.
Steps on How to Install Apache Ignite on Ubuntu
Itself installing Apache Ignite on Ubuntu needs only JDK or Oracle JDK 8 and Apache Maven. Here is official repository of Apache Ignite on GitHub :
1 | https://github.com/apache/ignite |
You’ll notice different scripts supplied :
---
1 | https://github.com/apache/ignite/tree/master/bin |
Apache Ignite also has Debian package :
1 | https://bintray.com/apache/ignite-deb |
For installing Apache Ignite on Ubuntu from repository, run :
1 2 3 | sudo bash -c 'cat <<EOF > /etc/apt/sources.list.d/ignite.list deb http://apache.org/dist/ignite/deb/ apache-ignite main EOF' |
Then :
1 2 3 | sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 sudo apt update sudo apt install apache-ignite --no-install-recommends |
For building from source and installing Apache Ignite on Ubuntu from repository, run :
1 2 3 4 | # git clone or wget the package, ignite-2.6.0 shown as example unzip -q apache-ignite-2.6.0-src.zip cd apache-ignite-2.6.0-src mvn clean package -DskipTests |
To build In-Memory Data Fabric release without LGPL dependencies, run :
1 | mvn clean package -DskipTests -Prelease,lgpl |
To build In-Memory Data Fabric release with LGPL dependencies, run :
1 | mvn clean package -DskipTests -Prelease,lgpl |
To build In-Memory Hadoop Accelerator release, run :
1 | mvn clean package -DskipTests -Dignite.edition=hadoop [-Dhadoop.version=X.X.X] |
You can follow official guides for further work :
1 | https://apacheignite.readme.io/docs/getting-started-sql |