voonhous commented on code in PR #17655:
URL: https://github.com/apache/hudi/pull/17655#discussion_r2671571182
##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -2271,17 +2270,17 @@ public static String
deleteMetadataTablePartition(HoodieTableMetaClient dataMeta
if (backup) {
final StoragePath metadataPartitionBackupPath = new
StoragePath(metadataTablePartitionPath.getParent().getParent(),
String.format(".metadata_%s_%s", partitionPath,
HoodieInstantTimeGenerator.getCurrentInstantTimeStr()));
- LOG.info("Backing up MDT partition {} to {} before deletion",
partitionPath, metadataPartitionBackupPath);
+ log.info("Backing up MDT partition {} to {} before deletion",
partitionPath, metadataPartitionBackupPath);
try {
if (storage.rename(metadataTablePartitionPath,
metadataPartitionBackupPath)) {
return metadataPartitionBackupPath.toString();
}
} catch (Exception e) {
// If rename fails, we will try to delete the table instead
- LOG.error(String.format("Failed to backup MDT partition %s using
rename", partitionPath), e);
+ log.error(String.format("Failed to backup MDT partition %s using
rename", partitionPath), e);
Review Comment:
Done
--
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]