Unable to read SingleFileStore at 'RHDG_HOME/server/data/migrate.dat'

Solution Verified - Updated -

Issue

  • While using store migrator to migrate cache store from RHDG 8.0.0 to RHDG 8.3.1, getting below exception:
Unable to read SingleFileStore at '/home/aipatil/Downloads/Jboss_EAP_Binaries/redhat-datagrid-8.0.0-server/server/data/migrate.dat'

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:297)
at java.lang.Thread.run (Thread.java:748)
Caused by: org.infinispan.commons.CacheException: Unable to read SingleFileStore at '/home/aipatil/Downloads/Jboss_EAP_Binaries/redhat-datagrid-8.0.0-server/server/data/migrate.dat'
  • StoreMigrator only supports source stores with a single .dat file. However, when segmentation is configured a .dat file is created per segment across many directories. The migrator should be able to handle such stores when the user configures the source.segment_count property.

Environment

  • Red Hat Data Grid (RHDG)
    • 8.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content