You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "lokeshj1703 (via GitHub)" <gi...@apache.org> on 2026/05/25 10:52:11 UTC

[I] RLI bootstrap fails with cleaner table service [hudi]

lokeshj1703 opened a new issue, #18835:
URL: https://github.com/apache/hudi/issues/18835

   ### Bug Description
   
   **What happened:**
   
   RLI bootstrap fails with NPE during cleaner operation. This happens because schema is not populated into the write config during clean operation, in such cases we should rather resolve schema using timeline.
   
   ```
   java.lang.NullPointerException
   	at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1217)
   	at org.apache.avro.Schema$Parser.parse(Schema.java:1459)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.readRecordKeysFromFileSliceSnapshot(HoodieBackedTableMetadataWriter.java:889)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.initializeRecordIndexPartition(HoodieBackedTableMetadataWriter.java:803)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.initializeFilegroupsAndCommitToPartitionedRecordIndexPartition(HoodieBackedTableMetadataWriter.java:763)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.initializeFilegroupsAndCommitToRecordIndexPartition(HoodieBackedTableMetadataWriter.java:744)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.initializeFromFilesystem(HoodieBackedTableMetadataWriter.java:477)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.initializeIfNeeded(HoodieBackedTableMetadataWriter.java:316)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.<init>(HoodieBackedTableMetadataWriter.java:222)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriter.<init>(HoodieBackedTableMetadataWriter.java:191)
   	at org.apache.hudi.metadata.HoodieBackedTableMetadataWriterTableVersionSix.<init>(HoodieBackedTableMetadataWriterTableVersionSix.java:76)
   	at org.apache.hudi.metadata.SparkHoodieBackedTableMetadataWriterTableVersionSix.<init>(SparkHoodieBackedTableMetadataWriterTableVersionSix.java:95)
   	at org.apache.hudi.metadata.SparkMetadataWriterFactory.create(SparkMetadataWriterFactory.java:46)
   	at org.apache.hudi.table.HoodieSparkTable.getMetadataWriter(HoodieSparkTable.java:116)
   	at org.apache.hudi.table.HoodieTable.getMetadataWriter(HoodieTable.java:1098)
   	at org.apache.hudi.table.HoodieTable.getMetadataWriter(HoodieTable.java:1088)
   	at org.apache.hudi.table.action.BaseActionExecutor.writeTableMetadata(BaseActionExecutor.java:96)
   	at org.apache.hudi.table.action.clean.CleanActionExecutor.runClean(CleanActionExecutor.java:227)
   	at org.apache.hudi.table.action.clean.CleanActionExecutor.runPendingClean(CleanActionExecutor.java:194)
   	at org.apache.hudi.table.action.clean.CleanActionExecutor.execute(CleanActionExecutor.java:273)
   	at org.apache.hudi.table.HoodieSparkCopyOnWriteTable.clean(HoodieSparkCopyOnWriteTable.java:284)
   	at org.apache.hudi.client.BaseHoodieTableServiceClient.clean(BaseHoodieTableServiceClient.java:871)
   	at org.apache.hudi.client.BaseHoodieWriteClient.clean(BaseHoodieWriteClient.java:936)
   ```
   
   **What you expected:**
   
   **Steps to reproduce:**
   1. Enable RLI during clean operation while ensuring schema is not configured
   
   ### Environment
   
   **Hudi version:**
   **Query engine:** (Spark/Flink/Trino etc)
   **Relevant configs:**
   
   
   ### Logs and Stack Trace
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RLI bootstrap fails due to NPE with cleaner table service [hudi]

Posted by "deepakpanda93 (via GitHub)" <gi...@apache.org>.
deepakpanda93 commented on issue #18835:
URL: https://github.com/apache/hudi/issues/18835#issuecomment-5355615976

   Thanks for reporting this.
   
   This looks addressed by #18836 (*fix: RLI bootstrap fails due to NPE with cleaner table service*, merged 2026-05-26).
   
   Note this merged after 1.2.0, so it is on `master` and will ship in the next release rather than being available in 1.2.0.
   
   Closing on that basis - please reopen or comment if you still see the behaviour on a build containing that change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] RLI bootstrap fails due to NPE with cleaner table service [hudi]

Posted by "deepakpanda93 (via GitHub)" <gi...@apache.org>.
deepakpanda93 closed issue #18835: RLI bootstrap fails due to NPE with cleaner table service
URL: https://github.com/apache/hudi/issues/18835


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org