Hi All,
As part of AEM 6.1 to 6.3 Upgrade, For Repository Migration I've run the below command and it is throwing exception as org.apache.jackrabbit.core.data.DataStoreException: Record 0894fb02b1ebfe3354ad3b7bab7ab92076bd3598 does not exist. Please suggest how to fix this DataStoreException.
Command: java -Xmx4096m -jar cq-quickstart-630-author-p4502.jar -v -x crx2oak -xargs -- --load-profile segment-fds --src-datastore=D:\aem63\crx-quickstart\repository\segmentstore\datastore
Using the FileDataStore for storing the Binary/blob data and SegmentNodeStoreService as Node storage.
Log Summary
20.03.2018 08:51:13.982 *WARN* [org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore] DataStoreBlobStore.java:339 Error occurred while loading bytes from steam while fetching for id 0894fb02b1ebfe3354ad3b7bab7ab92076bd3598#7284
java.util.concurrent.ExecutionException: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record 0894fb02b1ebfe3354ad3b7bab7ab92076bd3598 does not exist
at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.load(CacheLIRS.java:1018)
at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.get(CacheLIRS.java:975)
at org.apache.jackrabbit.oak.cache.CacheLIRS.get(CacheLIRS.java:286)
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getInputStream(DataStoreBlobStore.java:323)
at org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob.getNewStream(BlobStoreBlob.java:47)
at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getNewStream(SegmentBlob.java:276)
at org.apache.jackrabbit.oak.plugins.segment.SegmentBlob.getNewStream(SegmentBlob.java:86)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeBlob(SegmentWriter.java:758)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeProperty(SegmentWriter.java:870)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeProperty(SegmentWriter.java:857)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1088)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1060)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1060)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1055)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1055)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1055)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1055)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNodeUncached(SegmentWriter.java:1055)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:991)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.writeNode(SegmentWriter.java:970)
at org.apache.jackrabbit.oak.segment.SegmentWriter$SegmentWriteOperation.access$700(SegmentWriter.java:365)
at org.apache.jackrabbit.oak.segment.SegmentWriter$8.execute(SegmentWriter.java:322)
at org.apache.jackrabbit.oak.segment.SegmentBufferWriterPool.execute(SegmentBufferWriterPool.java:106)
at org.apache.jackrabbit.oak.segment.SegmentWriter.writeNode(SegmentWriter.java:318)
at org.apache.jackrabbit.oak.segment.SegmentNodeBuilder.getNodeState(SegmentNodeBuilder.java:111)
at org.apache.jackrabbit.oak.segment.SegmentNodeStore$Commit.<init>(SegmentNodeStore.java:581)
at org.apache.jackrabbit.oak.segment.SegmentNodeStore.merge(SegmentNodeStore.java:333)
at org.apache.jackrabbit.oak.spi.state.ProxyNodeStore.merge(ProxyNodeStore.java:43)
at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copyState(RepositorySidegrade.java:359)
at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copy(RepositorySidegrade.java:285)
at org.apache.jackrabbit.oak.upgrade.RepositorySidegrade.copy(RepositorySidegrade.java:248)
at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.sidegrade(OakUpgrade.java:92)
at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:78)
at com.adobe.granite.crx2oak.engine.MigrationEngine$2.doMigration(MigrationEngine.java:67)
at com.adobe.granite.crx2oak.engine.MigrationEngine.process(MigrationEngine.java:92)
at com.adobe.granite.crx2oak.pipeline.Pipeline.run(Pipeline.java:103)
at com.adobe.granite.crx2oak.CRX2Oak.run(CRX2Oak.java:66)
at com.adobe.granite.crx2oak.CRX2Oak.main(CRX2Oak.java:51)
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 com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:881)
at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:959)
Caused by: java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record 0894fb02b1ebfe3354ad3b7bab7ab92076bd3598 does not exist
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:589)
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore$2.call(DataStoreBlobStore.java:327)
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore$2.call(DataStoreBlobStore.java:323)
at org.apache.jackrabbit.oak.cache.CacheLIRS$Segment.load(CacheLIRS.java:1014)
... 50 common frames omitted
Caused by: org.apache.jackrabbit.core.data.DataStoreException: Record 0894fb02b1ebfe3354ad3b7bab7ab92076bd3598 does not exist
at org.apache.jackrabbit.core.data.AbstractDataStore.getRecord(AbstractDataStore.java:53)
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getDataRecord(DataStoreBlobStore.java:598)
at org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore.getStream(DataStoreBlobStore.java:583)
... 53 common frames omitted
Thread renamed by Hans-G.
Solved! Go to Solution.
Views
Replies
Total Likes
Can you try adding additional parameter to skip checkpoints
Use --skip-checkpoints to force the migration
see https://jackrabbit.apache.org/oak/docs/migration.html#Checkpoints_migration for more info
Views
Replies
Total Likes
let me try and reproduce
Views
Replies
Total Likes
Heman arora Did you get this?
Views
Replies
Total Likes
Still working on it
Views
Replies
Total Likes
Can you try adding additional parameter to skip checkpoints
Use --skip-checkpoints to force the migration
see https://jackrabbit.apache.org/oak/docs/migration.html#Checkpoints_migration for more info
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies