You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/11/26 04:18:01 UTC

[GitHub] [hudi] danny0405 commented on pull request #4117: [HUDI-2852] Table metadata returns empty for non-exist partition

danny0405 commented on pull request #4117:
URL: https://github.com/apache/hudi/pull/4117#issuecomment-979685899


   > ```
   > 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: commits-unsubscribe@hudi.apache.org

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