vinothchandar edited a comment on pull request #4117:
URL: https://github.com/apache/hudi/pull/4117#issuecomment-979684047


   ```
   Caused by: java.lang.IllegalArgumentException: Invalid number of file 
slices: found=0, required=1
     at 
org.apache.hudi.common.util.ValidationUtils.checkArgument(ValidationUtils.java:40)
   ```
   
   this seems to be an issue with the metadata table not being bootstrapped. 
Can you check if/how `HoodieBackedTableMetadataWriter#bootstrapIfNeeded()` is 
invoked for Flink?
   
   It is not because of the metadata table not bootstrapped, it is because the 
flink request and check partition small files during write process. When we 
encounter a new partition, the error throws.
   
   The metadata is designed as a backend of the table files view, while the 
file-listing based view does not throw for new partition, we should follow that 
for metadata-based view too.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to