prashantwason commented on pull request #2064:
URL: https://github.com/apache/hudi/pull/2064#issuecomment-701026945


   > I instrumented the code to track writeConfig.useFileListingMetadata. It 
looks like it is being disabled for a dataset that has the metadata dataset
   > 
   > 20/09/26 02:58:11 ERROR HoodieMetadata: 
writeConfig.useFileListingMetadata() =true
   > 20/09/26 02:58:14 ERROR HoodieMetadata: 
writeConfig.useFileListingMetadata() =false
   > 
   > The above line is coming from HoodieMetadata.init() method. I am unable to 
test using spark.write() as it seems to fallback to listing
   
   
   I think the second log (writeConfig.useFileListingMetadata() =false) is 
coming from the Hoodie Metadata Table's internal writeConfig. Since the HUDI 
Metadata Table is also a HUDI Table, it also has a HoodieWriteConfig wherein 
the useFileListingMetadata is disabled.  
   
   Fallback to listing is by design to prevent issues during adoption.


----------------------------------------------------------------
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.

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


Reply via email to