1
0

[HUDI-1504] Allow log files generated during restore/rollback to be synced as well

- TestHoodieBackedMetadata#testSync etc now run for MOR tables
 - HUDI-1502 is still pending and has issues for MOR/rollbacks
 - Also addressed bunch of code review comments.
This commit is contained in:
Vinoth Chandar
2021-01-04 01:15:49 -08:00
committed by vinoth chandar
parent 1a0579ca7d
commit 31e674eb57
10 changed files with 53 additions and 68 deletions

View File

@@ -29,7 +29,7 @@ import org.apache.hudi.common.util.ValidationUtils;
import org.apache.hudi.config.HoodieWriteConfig;
import org.apache.hudi.metadata.HoodieBackedTableMetadata;
import org.apache.hudi.metadata.HoodieTableMetadata;
import org.apache.hudi.metrics.SparkHoodieBackedTableMetadataWriter;
import org.apache.hudi.metadata.SparkHoodieBackedTableMetadataWriter;
import org.apache.spark.api.java.JavaSparkContext;
import org.springframework.shell.core.CommandMarker;
@@ -117,7 +117,7 @@ public class MetadataCommand implements CommandMarker {
// Metadata directory does not exist
}
return String.format("Removed Metdata Table from %s", metadataPath);
return String.format("Removed Metadata Table from %s", metadataPath);
}
@CliCommand(value = "metadata init", help = "Update the metadata table from commits since the creation")