Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUDI-7674] Fix Hudi CLI Command "metadata validate-files" to use file listing to validate #11100

Merged
merged 1 commit into from
Apr 27, 2024

Conversation

bvaradar
Copy link
Contributor

@bvaradar bvaradar commented Apr 26, 2024

Change Logs

[HUDI-7674] Fix Hudi CLI Command "metadata validate-files" to use file listing to validate

Impact

Bug fix for a Hudi CLI command

Risk level (write none, low medium or high below)

Low

Documentation Update

No Config change

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Apr 26, 2024
@danny0405
Copy link
Contributor

Makes sense, there are some test failures we need to take care.

@hudi-bot
Copy link

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@@ -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();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this can be removed since no longer used.

@danny0405 danny0405 merged commit 2c4192f into apache:master Apr 27, 2024
40 checks passed
yihua pushed a commit that referenced this pull request May 15, 2024
…e listing to validate (#11100)

Co-authored-by: Balaji Varadarajan <balaji@applied.co>
yihua pushed a commit that referenced this pull request May 15, 2024
…e listing to validate (#11100)

Co-authored-by: Balaji Varadarajan <balaji@applied.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:S PR with lines of changes in (10, 100]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants