For the complete documentation index, see llms.txt. This page is also available as Markdown.

Project Setup

How to set up GridGain, including system requirements, binary and Maven installation, Docker, work directory, and enabling optional modules.

System Requirements

This section describes the platform requirements for machines running GridGain. GridGain system requirements scale depending on the size of the cluster.

Requirement
Details

JDK

Oracle JDK 17 or later

OS

Linux (any flavor), Windows (10 and up). For Docker environment, we provide Linux docker containers.

ISA

x86-64, SPARC, PowerPC

Network

No restrictions (10G recommended)

Running GridGain with Java 17 or Later

To run GridGain with Java 17 or later:

  • Set the JAVA_HOME environment variable to point to the Java installation directory.

  • Pass specific flags to JVM to make proprietary SDK APIs available. If you use the start-up script ignite.sh (or ignite.bat for Windows), you do not need to do anything because these flags are already set up in the script. Otherwise, provide the following parameters to the JVM of your application:

--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=java.base/jdk.internal.access=ALL-UNNAMED
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/sun.util.calendar=ALL-UNNAMED
--add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.net=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/java.security.cert=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.math=ALL-UNNAMED
--add-opens=java.base/java.time=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.base/sun.security.ssl=ALL-UNNAMED
--add-opens=java.base/sun.security.x509=ALL-UNNAMED
--add-opens=java.logging/java.util.logging=ALL-UNNAMED
--add-opens=java.management/sun.management=ALL-UNNAMED
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
--add-opens=java.sql/java.sql=ALL-UNNAMED

Other parameters, for example, Detailed GC Logs, may be version-dependent as well.

Your GridGain cluster nodes may start successfully and reach ACTIVE status, but certain runtime operations can still fail with module access errors caused by Java module system (JPMS) restrictions. This happens when your application's objects use a package that is not opened by the parameters above. Below is an example of an error you may encounter:

To resolve this issue, add the appropriate JVM option (--add-opens) for the module and package mentioned in the error. For example, for the error above, you would add the following:

The specific option depends on the object types used by the application.

Then, restart each node where you updated access permission.

Using Binary Distribution

To install GridGain from the binary (ZIP) distribution, refer to the Installing Using ZIP Archive section.

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.

  • Add the gridgain-core dependency for GridGain Enterprise Edition, or gridgain-ultimate for Ultimate Edition.

Using Docker

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

Configuring Work Directory

GridGain uses a work directory to store your application data (if you use the Native Persistence feature), index files, metadata information, logs, and other files. The default work directory is as follows:

  • $IGNITE_HOME/work, if the IGNITE_HOME system property is defined. This is the case when you start GridGain using the bin/ignite.sh script from the distribution package.

  • ./ignite/work, this path is relative to the directory where you launch your application.

There are several ways you can change the default work directory:

  1. As an environmental variable:

  2. In the node configuration:

Enabling Modules

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

The modules in the libs directory of the binary distribution are enabled by default: ignite-core, ignite-spring, ignite-indexing, and ignite-lucene-9. Other modules are disabled by default. They are in the libs/optional directory of the distribution package, each in a separate sub-directory.

Some modules and integrations are not in the binary distribution:

  • ignite-hibernate-7.4, ignite-spring-data, and ignite-spring-data-commons are available from Maven only. If code that uses them runs on a standalone node, for example in a compute task or a service, add the artifact and its dependencies to the node's classpath.

  • The Oracle GoldenGate integrations are in the separate GridGain Integrations download. See GridGain Handler.

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

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

  • Add libraries from libs/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

control-center-agent

Connects the cluster to GridGain Control Center for monitoring and management. Must be enabled on all server nodes. Requires Java 17 or later.

gridgain-bulkload

Support for SQL COPY FROM INTO statement that can be used to import or export data in csv, parquet, and iceberg formats. See COPY INTO for details.

gridgain-sql

Support for JSON functions. See JSON Functions for details.

gridgain-vector-query

Support for vector storage and indexing. See Vector Storage for details.

ignite-cassandra-serializers

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.

ignite-cassandra-store

GridGain Cassandra Store provides a CacheStore implementation backed by the Cassandra database. See Cassandra Cache Store for details.

ignite-direct-io

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

ignite-gce

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

ignite-hibernate-7.4

GridGain Hibernate 7.4 module provides a Hibernate L2 (second-level) cache implementation based on the GridGain In-Memory Data Grid for Hibernate ORM 7.4. Supports READ_ONLY, READ_WRITE, and NONSTRICT_READ_WRITE concurrency strategies. Add this module to your application as a Maven dependency. See Hibernate Second-Level Cache for details.

ignite-jcl

Support for the Jakarta Common Logging (JCL) framework.

ignite-jta

Integration of GridGain transactions with JTA.

ignite-kafka

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

ignite-kubernetes

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

ignite-log4j2

Support for Log4j2

ignite-lucene-9

Lucene 9 library. Provides full text and vector search on Java 17 and later. Enabled by default: the binary distribution ships it in the libs directory.

ignite-lucene-10

Lucene 10 library. Provides full text and vector search on Java 21 and later. Disabled by default: the binary distribution ships it in the libs/optional directory. It replaces ignite-lucene-9 on a node. On Java 22 and later, you can use ignite-lucene-10-java22 instead. See Choosing a Lucene Line.

ignite-opencensus

Support for OpenCensus tracing and the OpenCensus metrics exporter. Disabled by default. A node configured with OpenCensusTracingSpi or OpenCensusMetricExporterSpi fails at startup with ClassNotFoundException unless the module is enabled.

ignite-opentelemetry

Support for exporting metrics to an OpenTelemetry Protocol (OTLP) compatible backend. See OpenTelemetry for information on configuring the exporter..

ignite-osgi

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

ignite-osgi-karaf

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

ignite-osgi-paxlogging

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.

ignite-rest-http

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.

ignite-schedule

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

ignite-slf4j

ignite-spring-data

GridGain Spring Data provides an integration with the Spring Data 4 framework. The repository API is in the org.apache.ignite.springdata package. The module was previously named ignite-spring-data_2.2. When upgrading from GridGain 8.9.x, change the Maven artifactId to ignite-spring-data and replace org.apache.ignite.springdata22 with org.apache.ignite.springdata in your imports. Available from Maven only.

ignite-urideploy

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

ignite-web

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.

ignite-zookeeper

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, your application data (if you use the Native Persistence feature), logs, and other files. We recommend you always set up the 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:

  • 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.

This page is: Copyright © 2026 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?