Este contenido no está disponible en el idioma seleccionado.

Chapter 2. Data Grid Release Information


Learn about new features and get the latest Data Grid release information.

2.1. Upgrade to the latest Data Grid version

Red Hat recommends you upgrade any deployments from 8.0.x to the latest Data Grid 8 version as soon as possible. The Data Grid team regularly patch security vulnerabilities and actively fix issues on the latest version of the software.

2.1.1. Apache Log4j security vulnerabilities

Data Grid includes Apache Log4j components in:

  • Data Grid Server distribution
  • Data Grid Server container image for Red Hat OpenShift

Data Grid 8.2.2 fixes CVE-2021-44228 which is a critical security vulnerability. Data Grid 8.2.3 fixes several Log4j CVEs of moderate severity. For more information, see the Data Grid 8.2 release notes or the Data Grid Operator 8.2 release notes. You can find the latest Data Grid documentation at Red Hat Data Grid Product Documentation.

Note

Data Grid Operator version 8.2.7 corresponds to Data Grid 8.2.2.

If you cannot upgrade your Data Grid deployment, you must follow the steps to mitigate the critical vulnerability as outlined in the RHSB-2021-009 Log4Shell - Remote Code Execution security bulletin.

2.2. Data Grid 8.0.1 Release Information

Data Grid 8.0.1 is an errata release that provides enhancements, fixes bugs, and hardens security.

2.2.1. Server Patching Tool

The Data Grid CLI includes a patch command that lets you manage and install server patches.

See Patching Data Grid Servers for instructions on downloading and installing server patches.

Note

Data Grid 8.0.1 does not include a patch for 8.0.0. For this reason, you need to download the full Data Grid 8.0.1 server distribution.

For instructions on patching Data Grid 8.0.0 server installations, refer to the following article from the Red Hat support team:

https://access.redhat.com/solutions/4962581

2.2.2. Server Rolling Upgrade

Data Grid servers expose the ability to perform rolling upgrades via the REST API.

See Performing Rolling Upgrades for steps on upgrading Data Grid clusters without downtime.

2.2.3. Per-Cache Hot Rod Configuration

The Hot Rod client configuration API includes a RemoteCacheConfigurationBuilder class that lets you create and configure caches on first access either programmatically or via Hot Rod client properties file.

See the following documentation for more information:

2.2.4. Creating Caches with Templates via Hot Rod

The RemoteCacheManagerAdmin interface allows you to create caches with the org.infinispan cache configuration templates:

  • createCache​(String name, DefaultTemplate template)
  • getOrCreateCache​(String name, DefaultTemplate template)

For example:

private void createCacheWithTemplate() {
    manager.administration().getOrCreateCache("myDistCache", "org.infinispan.DIST_SYNC");
    System.out.println("Cache created.");
}
Copy to Clipboard Toggle word wrap

See org.infinispan.client.hotrod.RemoteCacheManagerAdmin for more information.

2.2.5. Improved Configuration for Single File Cache Stores

Configuration of Single File cache stores is simplified so you no longer need to set path or relative-to attributes. The location of Single File caches stores are always relative to the global persistent location.

See the following configuration documentation for more information:

2.2.6. Defining External Service Ports

Data Grid Operator lets you define the port where external services are exposed.

See Exposing Data Grid to External Clients for more information.

If you configure distributed caches with one owner (owners="1") then the conflict resolution strategy for partition handling must be ALLOW_READ_WRITES (when-split="ALLOW_READ_WRITES"), otherwise the cache configuration exception is thrown at server startup:

ISPN000575: PartitionStrategy must be ALLOW_READ_WRITES when numOwners is 1
Copy to Clipboard Toggle word wrap

In the case of Data Grid service clusters on OpenShift, the Data Grid Operator automatically modifies configuration during upgrade to use when-split="ALLOW_READ_WRITES". This ensures that clusters restart when rolling upgrades take place.

For Data Grid servers running outside of OpenShift, you must modify cache configuration manually.

2.3. What’s New in Data Grid 8.0

Data Grid 8.0 is a new major version with significant changes that focus on improved usability, increased performance, and a cloud-native architecture.

2.3.1. Data Grid Operator

Data Grid 8.0 introduces a fully supported Data Grid Operator that provides operational intelligence to simplify Data Grid cluster deployment and management on Red Hat OpenShift.

Try some of the following documentation to create a Data Grid Operator subscription and get running in OpenShift:

2.3.2. Data Grid Server

Data Grid servers are no longer based on Red Hat JBoss Enterprise Application Platform (EAP), which reduces the memory and disk footprint and also simplifies configuration. In addition Data Grid 8.0 servers provide several enhancements and improvements to security, including integration with Red Hat SSO and a smaller attack surface.

Important

To take advantage of security enhancements to Data Grid Server, as well as simplified configuration and improved usability, you should download and install Data Grid 8.1 if you are starting out.

If you have any existing Data Grid Server deployments you should upgrade from 8.0 to 8.1 as a security best practice.

See the following:

See Getting Started with Data Grid Server and create a running Data Grid cluster in a few minutes.

2.3.3. Management and Administration Console

Data Grid 8.0 includes a new console with improved management and administration capabilities.

To access the console, start Data Grid server and go to:
127.0.0.1:11222/console/

You can also access the console from Data Grid clusters running on OpenShift.

2.3.4. Data Grid REST API

Data Grid 8.0 introduces REST API v2 with 50% faster response rates compared to v1 along more extensive capabilities.

Data Grid REST API v2 provides operations that let you:

  • Access data and manipulate objects such as counters.
  • Perform management tasks, like gracefully shutting down Data Grid clusters or transferring cache state to backup locations when using cross-site replication.
  • Monitor cluster and server health and retrieve statistics.

Data Grid REST API v2 also automatically converts between storage formats such as JSON, XML, Protobuf, and plain text for increased inter-operability.

The Data Grid engineering team develop and maintain comprehensive REST API Documentation

2.3.5. Data Grid Command Line Interface (CLI)

In 8.0, Data Grid gives you a new CLI with intuitive commands for remotely accessing data and managing clusters.

The CLI uses familiar Bash commands for navigating, such as cd and ls. It also provides command history and auto-completion for ease of use. Additionally the CLI provide help text and man pages for commands with clear examples.

Try the docs: Getting Started with the Data Grid CLI.

2.3.6. Monitoring and Observability

Data Grid 8.0 is compatible with the Eclipse MicroProfile Metrics API and provides a /metrics endpoint for integration with Prometheus.

Data Grid metrics include:

  • Gauges that return values, such as JVM uptime or average number of seconds for cache operations.
  • Histograms that show how long read, write, and remove operations take, in percentiles.

Data Grid 8.0 also offers improved statistics and management operations via JMX and updates to logging with coarse-grained logging categories and support for logs in JSON format.

2.3.7. Marshalling and Data Durability

In 8.0, Data Grid marshalling capabilities are refactored so that user objects are isolated from internal objects, which improves efficiency and makes it easy to change between different Marshaller implementations.

Data Grid also now uses a ProtoStream API to store user types as Protocol Buffers, which is a platform-independent, language-neutral format that is highly customizable. As a result of this change, Data Grid 8.0 can also ensure binary compatibility of your data with future versions.

Find out about Data Grid Marshaller Implementations.

2.3.8. Performance

Data Grid 8.0 brings a number of performance improvements, notably:

  • Faster and more efficient cross-site replication operations.
  • Reduced thread usage through non-blocking internal calls.
  • Automatic detection of Hot Rod protocols.

2.4. Supported Java versions in Data Grid 8.0

Red Hat supports different Java versions, depending on how you install Data Grid.

Embedded caches

Red Hat supports Java 8 and Java 11 when using Data Grid for embedded caches in custom applications.

Remote caches

Red Hat supports Java 11 only for Data Grid Server installations. For Hot Rod Java clients, Red Hat supports Java 8 and Java 11.

Java 8 deprecation

Support for Java 8 is deprecated in Data Grid 8.2 and currently planned for removal in Data Grid 8.4.

Users with embedded caches in custom applications should plan to upgrade to Java 11 or to Java 17 when support becomes available.

Hot Rod Java clients running in applications that require Java 8 can continue using older versions of client libraries. Red Hat supports using older Hot Rod Java client versions in combination with the latest Data Grid Server version.

Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat