Migrating from Apache Ignite 2
Step-by-step procedure for migrating a cluster, its data, clients, and tooling from Apache Ignite 2.18 to GridGain 8.10, with cutover, verification, and rollback.
This page provides step-by-step instructions for migrating from Apache Ignite 2.18 to the GridGain 8.10 Ultimate Edition. The procedure covers the cluster and its data, client applications and operational tooling.
Before you start, read What to Know Before Migrating. It covers the compatibility model, the features you need to migrate, and the artifact, configuration, and SQL changes this guide refers to.
Work through the phases below in order:
Prerequisites: confirm that the license, the downtime window, and the distributions are in place. Persistent clusters also need backup storage.
Check compatibility: find which differences between Ignite 2 and GridGain 8 affect your deployment. The result is your migration work list.
Prepare configuration and code: the bulk of the migration. You work on staging with production untouched, covering artifacts, configuration, feature replacements, clients, and SQL. Operators and application teams work in parallel over several rounds. Done when the preparation criteria pass.
Perform the cutover: the production event. The cluster stops, restarts on GridGain 8 with its data carried over (persistent) or reloaded (in-memory), and the rebuilt clients reconnect. This is the only downtime and, for persistent clusters, the only irreversible part. Done when the cutover criteria pass.
Verify and stabilize: confirm under real load that data, functionality, performance, and monitoring all check out before you call the migration complete.
If a step in the cutover fails and you cannot fix it quickly, fall back to Rollback.
Persistent and In-Memory Clusters
The procedure covers clusters that use Native Persistence and clusters that keep data only in memory. The phases are the same for both. The difference is what happens to the data at the cutover:
Persistent cluster. GridGain 8 starts directly on Ignite 2's persistence files. Follow the steps marked persistent only: leave the data in a clean state and back it up first, because once GridGain 8 writes to it, the migration is one-way.
In-memory cluster. GridGain 8 starts empty. Skip the steps marked persistent only and reload the data at step 9.
Mixed cluster. Follow the persistent path, including every step marked persistent only, and additionally reload the in-memory caches at step 9.
Which Phases Apply to You
Everything migrates together in one cutover, because Ignite 2 and GridGain 8 server nodes cannot mix, and GridGain 8 clients are not supported against an Ignite 2 cluster. Which phases you work through depends on your role:
You administer the cluster: you install, configure, and run the server nodes. All five phases are required.
You develop a client application that connects to a cluster someone else administers. Your main work is in Check Compatibility and Prepare Configuration and Code: rebuild the application against GridGain 8 artifacts and re-test it. You are also needed during the cutover, where you stop the application, reconnect the rebuilt version, and take part in the smoke test, and in Verify and Stabilize, where you run the application workload. The rebuilt application must not connect to the production cluster before the cutover, so coordinate the cutover with the cluster administrators.
You maintain operational tooling: monitoring, scripts, automation. Your main work is in Check Compatibility and Prepare Configuration and Code: adapt the tooling to the CLI, logging, and metrics changes. In Verify and Stabilize, you reconnect monitoring and confirm that dashboards and alerts show data.
Prerequisites
You arranged these during planning (see Before You Begin); confirm all of them before you start:
You understand the migration constraints, most importantly that for a persistent cluster this is a one-way cutover with no in-place rollback once GridGain 8 writes to the data directory.
A valid GridGain 8.10 Ultimate Edition license is available. The 8.10 distribution does not include one: without a license the node does not start (see GridGain Refuses to Start Because of the License).
Java 17 or later is installed on every host that will run GridGain 8 (see Distribution).
The downtime window for the full cluster cutover is scheduled.
Persistent only: storage for a complete backup of the persistence directory is reserved.
The GridGain 8 distribution is in place, and your current Ignite 2 distribution is archived for rollback.
Check Compatibility
Most migration work is conditional: each area below may or may not apply to your deployment. Review every area and record each item that applies:
Review the features to replace. CDC, snapshots, Read Repair, and the other features that work differently or are absent in GridGain. Each entry in Features to Replace starts with whether it applies to you.
Review the configuration changes. Changed defaults, removed properties, stricter validation, and the binary field-sort setting. See Configuration and Validation Changes.
Review the client changes. All clients are rebuilt; record the per-language changes for Java, .NET, C++, Python, Node.js, JDBC, ODBC, and REST. See Clients.
Review the SQL changes. The engine change to H2 and the SQL memory quotas. See SQL Changes.
Review the deployment and artifact changes. Distribution, build coordinates, Docker, modules and extensions. See Artifacts and Deployment.
Review the monitoring and CLI changes. Logs, metrics, system views, events, and the scripts and automation that call
control.shandignite.sh. See Monitoring and CLI Changes.
Prepare Configuration and Code
Do all of this on a separate staging GridGain 8 cluster while your Ignite 2 cluster stays in production. None of it requires downtime, and nothing here touches the production cluster. Stand up the staging cluster, load it with representative data, then apply each change below and test it there, fixing failures and re-testing until everything passes. The cutover later applies the configuration you settle on here to production.
Preparation Tasks
Update artifacts. Apply the build-coordinate and packaging changes for your languages and deployment method. See Artifacts and Deployment.
Migrate server configuration. Set the changed defaults explicitly, remove Ignite-only properties, and resolve the stricter validation rules. See Configuration and Validation Changes.
Replace features. For each feature on your work list, implement and test the GridGain 8 equivalent now. These are the highest-effort changes. See Features to Replace.
Update clients and SQL. Recompile clients against GridGain 8 artifacts, remove Calcite configuration, and re-test every query on the H2 engine. Decide your SQL memory-quota policy (keep the GridGain 8 default, tune it, or set
sqlGlobalMemoryQuota=0) and test the choice with production-scale queries. See SQL Changes.Update operational scripts. Adjust automation that calls
control.shandignite.shfor removed or renamed commands and the changed restart mechanism. See CLI Changes.Check the binary field-sort setting. Persistent only. See Binary Object Field Ordering. If the source uses the default, skip the related cutover step.
Begin with Update artifacts (step 1). Once the GridGain 8 libraries are in place, work through feature replacement, configuration changes, and SQL validation (steps 2–5), revisiting them as staging tests uncover issues.
Common Pitfalls
Feature replacements take the most time. Data Center Replication, enterprise snapshots, and enterprise security usually require their own implementation and validation work. Start them early and test each one in staging.
Choose the binary field-sort value early (persistent clusters).
IGNITE_BINARY_SORT_OBJECT_FIELDSaffects the on-disk and on-wire layout, so fix it before loading staging data, use it consistently, and carry the same value into the cutover (step 6).Validate with realistic workloads. Production-scale datasets and query patterns expose H2 optimizer and type-coercion differences and SQL memory-quota issues that small staging datasets hide.
Do not connect updated clients to production. GridGain 8 clients are not supported against an Ignite 2 cluster, so keep rebuilt clients on staging until you reconnect them during the cutover (step 10).
When Is Preparation Complete?
Expect several rounds. Early on, configuration is rejected, queries fail or run slowly, and some replacements are unfinished. Fix each problem in your configuration or client code and test again on staging. Fixing it now costs far less than fixing it during the cutover, when the cluster is down.
If you cannot finish a replacement, use a temporary workaround or drop the feature. Test that decision on staging too. Once GridGain 8 writes to persisted data, you cannot roll back.
A clean staging run does not prove that staging behaves like production. If staging has less data, fewer kinds of queries, or different client versions, a passing test can still hide problems. Make staging match production before you trust the results.
Perform the Cutover
Start only once preparation is complete. Do the following with the cluster down, strictly in the order shown. Do not reorder or skip steps, except the steps marked persistent only or in-memory only that do not apply to your cluster.
The cutover has three parts:
steps 1–4 take the cluster down cleanly and secure your way back;
steps 5–7 switch it to GridGain 8;
steps 8–11 bring the service back: verify the cluster, reload the data if nothing was carried over, reconnect clients, and smoke-test. On a persistent cluster, the point of no return is step 7: once GridGain 8 writes to the data, the migration is irreversible.
1. Stop Running Applications
Drain and stop all application clients and CDC processes (ignite-cdc.sh and any CdcConsumer). GridGain 8 has no CDC feature or tooling, so nothing consumes the CDC directory after the cutover.
2. Deactivate the Cluster (Persistent Only)
Deactivating forces a final checkpoint.
3. Shut Down All Nodes
Stop the nodes gracefully, in any order, and wait for each process to exit (the log ends with Ignite node stopped OK). The order does not matter because the cluster is already deactivated (persistent) or its data is not being kept (in-memory). On a persistent cluster, the graceful stop lets the final checkpoint complete cleanly.
4. Back Up the Persistence Directory (Persistent Only)
Back up every node: each node has its own persistence directory, and the backup is only complete when it covers all of them. For each node, copy the whole work directory, including db/, db/binary_meta/, db/marshaller/, and the WAL (db/wal/, and db/wal/archive/). Also archive the Ignite 2 binary distribution and its configuration so you can rebuild the pre-migration cluster if needed.
Run the following on each host, once per node. Replace the work directory with the node's workDirectory if you set one, and give each archive a unique name, such as one per node:
5. Configure GridGain 8.10
Apply your prepared GridGain 8 configuration.
Remove every property that GridGain 8 does not know (see Removed Configuration Properties). A configuration that uses only properties common to both products, such as the Native Persistence and discovery settings of a plain Ignite 2 file, loads in GridGain 8.10 unchanged.
Make the license available (-DlicenseUrl, licenseUrl in the configuration, or gridgain-license.xml in the install root).
Persistent only: the GridGain 8 node must use the same consistentId and the same persistence directory as the Ignite 2 node it replaces. Point GridGain 8's workDirectory at the existing work directory, or copy db/ into GridGain 8's work directory.
6. Match the Field-Sort Setting (Persistent Only)
If the source explicitly set IGNITE_BINARY_SORT_OBJECT_FIELDS, pass the same value as -DIGNITE_BINARY_SORT_OBJECT_FIELDS=<source-value> on every GridGain 8 node and client. Otherwise, leave it unset. See Binary Object Field Ordering.
7. Start GridGain
Start every server node with your migrated configuration:
GridGain 8.10 logs to the console and to work/log at INFO level by default; add -q for quiet output. If you pass options through JVM_OPTS, such as -DlicenseUrl, include the heap settings too, because ignite.sh applies its defaults only when JVM_OPTS is empty.
On an in-memory cluster, the nodes start with fresh storage and the cluster is active as soon as they join. Continue to step 8.
On a persistent cluster, start one node first, confirm the recovery lines below in its log, and then start the rest. The cluster reports INACTIVE until every baseline node has joined. When the last one joins, every node logs Cluster state was changed from INACTIVE to ACTIVE. If the cluster stays inactive, see The Cluster Stays INACTIVE After the Start.
The log must show GridGain 8 restoring your data. This confirms that it opened the migrated persistence rather than creating fresh storage. Output is trimmed here; cache names, counts, and IDs differ on your cluster:
After all nodes have joined, the cluster activates by itself. Every node logs the state change and then a node summary that ends with the cluster line:
An earlier Finished restoring partition state ... [groupsProcessed=0, ...] line, logged before the caches are started, is normal. The Applying lost metastore updates since last checkpoint record and Applying lost cache updates since last checkpoint record lines from GridCacheDatabaseSharedManager are also normal. Nodes log them on the first start even after a graceful, deactivated shutdown. If the recovery lines are missing or your caches are absent, stop: see GridGain Starts, but the Data Is Gone.
GridGain 8 upgrades partition-metadata page versions on first write. From this point on, the migration of a persistent cluster is irreversible.
8. Activate and Verify
--baseline prints Cluster state: active (lower case), while --state prints Cluster is active; update scripts that parse either.
Use the control.sh of the GridGain 8 distribution. The Ignite 2 control.sh cannot talk to a GridGain 8 node.
--state and --cache list confirm that the cluster is up with your caches. On an in-memory cluster, activation is automatic and --set-state ACTIVE is a harmless confirmation. The caches are empty until the next step, so check the state and the cache list and skip the row-count checks below. Output is trimmed here:
The cacheSize values give you a first row-count check before you query anything.
Persistent only: spot-check row counts with sqlline and confirm they match the pre-cutover values:
Use the sqlline of the GridGain 8 distribution.
9. Reload the Data (In-Memory Only)
This step applies to in-memory clusters and to the in-memory data regions of a mixed cluster; the persistent data is already in place from step 7.
Repopulate the caches the way you repopulate Ignite 2 after any restart:
Preload the caches from the database that backs them, the same way you warm them up on Ignite.
Re-run your data-loading jobs.
Or let the caches fill once clients reconnect (step 10): read-through caches load entries on first access.
After the cutover, caches and tables in non-persistent regions that you created with SQL do not exist, and queries against them fail with Table "..." not found. Recreate them before you load the data. If you copied data out before the cutover because it had no external source to reload from, load it back now. When loading completes, spot-check row counts against the source.
10. Reconnect Updated Clients
Bring up the clients you rebuilt against GridGain 8 artifacts and connect them to the GridGain 8 cluster. Ignite 2 clients that work against GridGain 8.10 can reconnect unchanged.
11. Run an End-to-End Smoke Test
Run a minimal write, read, and query path through the real application stack.
Verify and Stabilize
With the cluster live on GridGain 8, confirm it is healthy before you consider the migration complete:
Check data integrity. Compare full row counts per cache against the pre-cutover values (persistent) or the reload source (in-memory), then run
control.sh --cache idle_verify. A healthy run reports no conflicts:Also run
control.sh --cache validate_indexes; a healthy run ends withno issues found.Run the real workload. Run your regression suite or production workload end to end and confirm it passes.
Watch performance over the first days. Look for SQL memory-quota failures on large queries, since GridGain 8 enables SQL memory quotas by default. If a query that worked in Ignite 2 now fails, tune
sqlGlobalMemoryQuotaor set it to0. See SQL Changes.Reconnect monitoring. Update log parsing for the new file-name pattern and quiet-mode default, and move any removed metrics, system-view, or event usages to JMX or the
SYSschema. Confirm your dashboards and alerts show data again.Re-establish backups. Recreate your backup regime with GridGain 8 snapshots, because Ignite 2 snapshots are not compatible. Take a first snapshot and confirm it completes.
control.sh --snapshot create <name>works on the migrated cluster with no extra configuration.snapshot-utility.shfails withGridGain snapshots are not configureduntil you configure the GridGain 8 snapshot system (see Snapshots and Recovery).
Rollback
On an in-memory cluster, rollback is a restart on the old version: stop GridGain 8, start the archived Ignite 2 distribution with the original configuration, reconnect the original clients, and reload the data as after any restart.
On a persistent cluster, rollback is possible only by restoring the backup you took during the cutover onto the archived Ignite 2 binaries. There is no in-place path once GridGain 8 has written. Restoring the backup returns the cluster to its pre-cutover state, and rows that GridGain 8 wrote after the cutover are lost:
Stop the GridGain 8 cluster.
Restore the pre-cutover backup to a clean work directory.
Start the archived Ignite 2 distribution against the restored data.
Activate, verify, and reconnect the original Ignite 2 clients.
Keep the backup and the archived Ignite 2 binaries until the migration has been validated in production.
Troubleshooting
These are the problems that come up most often during this migration. If you hit something not covered here, contact support.
GridGain Starts, but the Data Is Gone
The node comes up on an empty baseline with none of your caches.
Cause: The GridGain 8 node is not using the same identity or directory as the Ignite 2 node it replaces, so it created fresh storage instead of opening the migrated data.
Fix: Stop the node. Confirm it uses the same consistentId, and that workDirectory points at the migrated db/ (step 5). Restart.
The Cluster Stays INACTIVE After the Start
Nodes are up, but the Topology snapshot log line or control.sh --state reports INACTIVE.
Cause: A persistent cluster activates only after every node of the carried-over baseline has joined. The Topology snapshot line can also show INACTIVE when it is logged an instant before auto-activation completes; on its own, this is not a failure.
Fix: Start the remaining baseline nodes, then look for Cluster state was changed from INACTIVE to ACTIVE in the log or confirm with control.sh --state. If all nodes are up and your caches are listed but the cluster has not activated, activate it manually (step 8). If the cluster is INACTIVE with none of your caches, see GridGain Starts, but the Data Is Gone.
GridGain Refuses to Start on the Persistence
Startup fails while reading the existing data.
Cause: The most likely cause is a binary field-sort setting that differs from the source, or a configuration property that GridGain 8 does not know (the log names it: Configuration property ... does not exist). A persistence directory that was damaged during the Ignite 2 shutdown or copied while the node was running can also fail.
Fix: Restore the pre-cutover backup, bring the Ignite 2 cluster back, deactivate it cleanly, and redo the cutover. Match IGNITE_BINARY_SORT_OBJECT_FIELDS to the source value (step 6), and remove unknown configuration properties.
The Cluster Is Already ACTIVE Before You Activate It
The cluster is already ACTIVE before you run --set-state ACTIVE.
Cause: GridGain 8 can auto-activate from the persisted baseline on first start, and a cluster without persistence is always active once it forms, so the explicit activation in step 8 is sometimes a no-op.
Fix: This is expected. Running --set-state ACTIVE against an already-active cluster is harmless; keep it as a confirmation step.
GridGain Refuses to Start Because of the License
The node stops during startup with License file URL is not provided and cannot be determined. GridGain Enterprise/Ultimate edition requires a license.
Cause: The 8.10 distribution does not include a license, and none was found through -DlicenseUrl, the licenseUrl configuration property, or gridgain-license.xml in the install root. An expired license or one outside its maintenance period fails the same way.
Fix: Supply a valid license (see Prerequisites). Because the node stops before it touches the data, the persistence directory is unchanged; fix the license and start again.
A Client Fails With "Handshake failed"
An Ignite 2 JDBC driver fails with Handshake failed ... Query engine not supported: 'calcite' if the URL sets queryEngine=calcite; an Ignite 2 control.sh fails with Compute grid functionality is disabled for thin clients or Channel is closed.
Cause: queryEngine=calcite is not available in GridGain 8, and the Ignite 2 control.sh is not supported against a GridGain 8.10 node. The Java, .NET, C++, Python, and Node.js thin clients, the JDBC driver (with the H2 engine), and the ODBC driver connect.
Fix: Use the GridGain JDBC driver and the control.sh and sqlline of the GridGain 8 distribution.
Startup Logs "Property ... is not supported in GridGain"
Cause: An Ignite 2 system property that GridGain 8 ignores is set in the JVM options or environment.
Fix: Remove it, or confirm it is not needed. See Unsupported System Properties.
sqlline Fails to Deserialize Values
Counts and column queries (including SELECT *) work, but selecting the _VAL or _KEY system column fails with a serialization error caused by ClassNotFoundException on your key or value class.
Cause: keepBinary defaults to false, so selecting _KEY or _VAL deserializes the whole object into its Java class, and application classes are not on the sqlline classpath. Primitive keys and values are unaffected, as are declared columns, which are extracted on the server.
Fix: Verify data through the declared columns. To select the object itself, add keepBinary=true to the JDBC URL; it is returned in binary form, rendered as an opaque numeric value rather than field values. If you instead fix it by adding your classes to the classpath, pass the sqlline JVM options in SQL_JVM_OPTS, not JVM_OPTS.
sqlline Output Looks Truncated or Columns Are Missing
A wide query, such as SELECT *, displays fewer columns than the table has, cuts values mid-string, or shows blank column headers.
Cause: sqlline truncates its table output at the display width (80 characters by default) without marking the truncation. It is a display issue, not a data problem, and is unrelated to keepBinary.
Fix: Re-run with --maxWidth=<n>, or use --outputformat=csv, which does not truncate. Judge data integrity by row counts and idle_verify, never by how output renders.
Queries That Worked in Ignite 2 Now Fail
Queries error out or behave differently after the cutover.
Cause: GridGain 8 enables SQL memory quotas by default, and dropping Calcite moves you onto the H2 engine, which optimizes and coerces types differently.
Fix: Tune sqlGlobalMemoryQuota (or set it to 0), and re-test queries on H2 in staging before the cutover. See SQL Changes.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

