Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Offline reindex checkpoint command issue

Avatar

Level 3

Hi,

 

I am running offline reindexing as per this documentation https://experienceleague.adobe.com/docs/experience-manager-65/deploying/upgrading/upgrade-offline-re... as part of pre-upgrade task (I am doing in-place upgrade from 6.4 to 6.5).

While i am running final command once checkpoint is created, i am getting following error.

 

Error occurred while performing index tasks
java.lang.IllegalArgumentException: Cannot serialize Blob of size [3842387] which is more than allowed maxSize of [1048576]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:120)
at org.apache.jackrabbit.oak.json.Base64BlobSerializer.serialize(Base64BlobSerializer.java:49)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:283)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:251)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:144)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:168)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:168)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:132)
at org.apache.jackrabbit.oak.plugins.index.inventory.IndexDefinitionPrinter.print(IndexDefinitionPrinter.java:70)
at org.apache.jackrabbit.oak.index.PrinterDumper.dump(PrinterDumper.java:55)
at org.apache.jackrabbit.oak.index.IndexerSupport.dumpIndexDefinitions(IndexerSupport.java:117)
at org.apache.jackrabbit.oak.index.IndexerSupport.postIndexWork(IndexerSupport.java:140)
at org.apache.jackrabbit.oak.index.OutOfBandIndexer.reindex(OutOfBandIndexer.java:91)
at org.apache.jackrabbit.oak.index.IndexCommand.reindex(IndexCommand.java:227)
at org.apache.jackrabbit.oak.index.IndexCommand.reindexOperation(IndexCommand.java:200)
at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:155)
at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:109)
at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
java.lang.IllegalArgumentException: Cannot serialize Blob of size [3842387] which is more than allowed maxSize of [1048576]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:120)
at org.apache.jackrabbit.oak.json.Base64BlobSerializer.serialize(Base64BlobSerializer.java:49)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:283)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:251)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:144)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:168)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:168)
at org.apache.jackrabbit.oak.json.JsonSerializer.serialize(JsonSerializer.java:132)
at org.apache.jackrabbit.oak.plugins.index.inventory.IndexDefinitionPrinter.print(IndexDefinitionPrinter.java:70)
at org.apache.jackrabbit.oak.index.PrinterDumper.dump(PrinterDumper.java:55)
at org.apache.jackrabbit.oak.index.IndexerSupport.dumpIndexDefinitions(IndexerSupport.java:117)
at org.apache.jackrabbit.oak.index.IndexerSupport.postIndexWork(IndexerSupport.java:140)
at org.apache.jackrabbit.oak.index.OutOfBandIndexer.reindex(OutOfBandIndexer.java:91)
at org.apache.jackrabbit.oak.index.IndexCommand.reindex(IndexCommand.java:227)
at org.apache.jackrabbit.oak.index.IndexCommand.reindexOperation(IndexCommand.java:200)
at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:155)
at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:109)
at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)

 

Any solution on this?

 

Thanks in advance.

Divya

1 Reply

Avatar

Employee Advisor

That means, that during theh dump of the index definition the JSON serializer fails because the blob which is supposed to be dumped exceeds 1 Megabyte (it's actually around 3 Megabyte).

 

Can you check on the running AEM 6.4 instance, if you can dump the index information (using OSGI Webconsole -> "Status" -> "Oak Index Definitions")? That should use the same functionality.