GridGain Developers Hub

Setting Up

System Requirements

GridGain was officially tested on:


Oracle JDK 8, Open JDK 8, IBM JDK 8


Linux (any flavor), Mac OSX (10.6 and up), Windows (XP and up), Windows Server (2008 and up), Oracle Solaris


x86, x64, SPARC, PowerPC


No restrictions (10G recommended)

Using Binary Distribution

  • Download the appropriate binary package from

  • Unzip the archive into a directory.

  • (Optional) Set the IGNITE_HOME environment variable to point to the installation folder and make sure there is no trailing / in the path.

Using Maven

The easiest way to start developing with GridGain is to use Maven.

  • Add GridGain’s External Repository to the maven configuration file (see the configuration example below).

  • Set the gridgain.version property to the actual version you want to use.

  • Set the ignite.version to a corresponding version (for GridGain 8.5.13, the corresponding version is 2.5.13).

  • Add the gridgain-core dependency if you want to use GridGain Enterprise or Ultimate Edition.


        <id>GridGain External Repository</id>





    <!-- Add this dependency to use GridGain Enterprise Edition features -->

    <!-- Add this dependency to use GridGain Ultimate Edition features. -->


Using Docker

If you want to run GridGain in Docker, refer to the Docker Deployment section.

Enabling Modules

GridGain ships with a number of modules that provide various functionality. You can import modules one by one, as required.

All modules are included in the binary distribution, but by default they are disabled (except for the ignite-core, ignite-spring, and ignite-indexing modules). Modules can be found in the lib/optional directory of the distribution package (each module is located in a separate sub-directory).

Depending on how you use GridGain, you can enable modules using one of the following methods:

  • If you use the binary distribution, move the lib/optional/{module-dir} to the lib directory before starting the node.

  • Add libraries from lib/optional/{module-dir} to the classpath of your application.

  • Add a module as a Maven dependency to your project.


The following modules are available:

Module’s artifactId Description


GridGain AOP module provides capability to turn any Java method to a distributed closure by adding @Gridify annotation to it.


Cluster discovery on AWS S3. Refer to Amazon S3 IP Finder for details.


The GridGain Cassandra Serializers module provides additional serializers to store objects as BLOBs in Cassandra. The module could be used as in conjunction with the GridGain Cassandra Store module.


GridGain Cassandra Store provides a CacheStore implementation backed by the Cassandra database.


GridGain Cloud provides Apache jclouds implementations of the IP finder for TCP discovery.


GridGain Direct IO is a plugin that provides a page store with the ability to write and read cache partitions in O_DIRECT mode.


GridGain GCE provides Google Cloud Storage based implementations of IP finder for TCP discovery.



GridGain Hibernate provides Hibernate L2 cache implementation based on GridGain In-Memory Data Grid.


GridGain Hibernate provides Hibernate L2 cache implementation based on GridGain In-Memory Data Grid.


SQL querying and indexing


Support for the Jakarta Commont Logging (JCL) framework.


Integration of GridGain transactions with JTA.


GridGain Kafka Streamer provides capability to stream data from Kafka to GridGain caches.


GridGain Kubernetes module a TCP Discovery IP Finder that uses a dedicated Kubernetes service for IP addresses lookup of GridGain pods containerized by Kubernetes.


Support for Log4j


Support for Log4j2


GridGain ML Grid provides machine learning features and relevant data structures and methods of linear algebra, including on heap and off heap, dense and sparse, local and distributed implementations.


This module provides bridging components to make GridGain run seamlessly inside an OSGi container such as Apache Karaf.


This module contains a feature repository to facilitate installing GridGain into an Apache Karaf container.


This module is an OSGi fragment that exposes the following packages from the Pax Logging API bundle:

  • org.apache.log4j.varia

  • org.apache.log4j.xml

These packages are required when installing the ignite-log4j bundle, and are not exposed by default by the Pax Logging API - the logging framework used by Apache Karaf.


GridGain REST-HTTP starts a Jetty-based server within a node that can be used to execute tasks and/or cache commands in grid using HTTP-based RESTful APIs.


The GridGain Scalar module provides Scala-based DSL with extensions and shortcuts for GridGain API.


GridGain Scalar module that supports Scala 2.10


This module provides functionality for scheduling jobs locally using UNIX cron-based syntax.


Support for SLF4J logging framework.


This module provides an implementation of Spark RDD abstraction that enables easy access to GridGain caches.


GridGain Spring Data provides an integration with Spring Data framework.


GridGain Spring Data 2.0 provides an integration with Spring Data 2.0 framework.


The GridGain SSH module provides capabilities to start GridGain nodes on remote machines via SSH.


The GridGain TensorFlow Integration Module allows using TensorFlow with GridGain. In this scenario GridGain will be a datasource for any TensorFlow model training.


GridGain URI Deploy module provides capabilities to deploy tasks from different sources such as File System, HTTP, or even Email.


Open source command line management and monitoring tool


GridGain Web allows you to start nodes inside any web container based on servlet and servlet context listener. In addition, this module provides capabilities to cache web sessions in a GridGain cache.


GridGain ZooKeeper provides a TCP Discovery IP Finder that uses a ZooKeeper directory to discover other GridGain nodes.

Configuration Recommendations

Below are some recommended configuration tips aimed at making it easier for you to operate a GridGain cluster or develop applications with GridGain.

Setting Work Directory

If you are going to use either binary distribution or Maven, you are encouraged to set up the work directory for GridGain. The work directory is used to store metadata information, index files, and your application data (if you use the Native Persistence feature). We recommend you always set up the work directory. You can do this in a few ways:

  • As an environmental variable:

    export IGNITE_WORK_DIR=/path/to/work/directory
  • In the configuration file:

    <bean class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="workDirectory" value="/path/to/work/directory"/>
        <!-- other properties -->
  • In the code:

    IgniteConfiguration igniteCfg = new IgniteConfiguration();
    var cfg = new IgniteConfiguration
        WorkDirectory = "/path/to/work/directory"
    IgniteConfiguration cfg;
    cfg.igniteHome = "/path/to/work/directory";

Logs play an important role when it comes to troubleshooting and finding what went wrong. Here are a few general tips on how to manage your log files:

  • Start GridGain in verbose mode:

    • If you use, specify the -v option.

    • If you start GridGain from Java code, add set the following system variable: IGNITE_QUIET=false.

  • Do not store log files in the /tmp folder. This folder is cleared up every time the server is restarted.

  • Make sure that there is enough space available on the storage where the log files are stored.

  • Archive old log files periodically to save on storage space.