yihua commented on code in PR #11100: URL: https://github.com/apache/hudi/pull/11100#discussion_r1581463647
########## hudi-cli/src/main/java/org/apache/hudi/cli/commands/MetadataCommand.java: ########## @@ -285,13 +290,14 @@ public String validateFiles( return "[ERROR] Metadata Table not enabled/initialized\n\n"; } + FileSystemBackedTableMetadata fsMetaReader = new FileSystemBackedTableMetadata(new HoodieLocalEngineContext(HoodieCLI.conf), + HoodieCLI.getTableMetaClient().getTableConfig(), new SerializableConfiguration(HoodieCLI.conf), + HoodieCLI.basePath); HoodieMetadataConfig fsConfig = HoodieMetadataConfig.newBuilder().enable(false).build(); Review Comment: nit: this can be removed since no longer used. -- 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-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org