wombatu-kun commented on code in PR #11385:
URL: https://github.com/apache/hudi/pull/11385#discussion_r1639065241
##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/HoodieLogFileCommand.java:
##########
@@ -95,7 +95,7 @@ storage, new StoragePath(logFilePathPattern)).stream()
new HashMap<>();
int numCorruptBlocks = 0;
int dummyInstantTimeCount = 0;
- String basePath =
HoodieCLI.getTableMetaClient().getBasePathV2().toString();
+ String basePath = HoodieCLI.basePath;
Review Comment:
No, I haven't tested it. But as I see from the code, you need to connect to
a different table if you want to change the base path. And during this process
(connecting) both basePath and metaClient are updated. Also `connect` method is
invoked on execution of createTable command. So these changes should not break
anything.
--
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]