1
0

CR feedback

This commit is contained in:
Vinoth Chandar
2017-04-03 18:17:56 -07:00
committed by vinoth chandar
parent e0fc4ec38e
commit 2b6322318c
4 changed files with 8 additions and 5 deletions

View File

@@ -78,7 +78,9 @@ public class HoodiePartitionMetadata {
}
/**
* Write the metadata safely into partition
* Write the metadata safely into partition atomically.
*
* @param taskPartitionId
*/
public void trySave(int taskPartitionId) {
Path tmpMetaPath = new Path(partitionPath, HoodiePartitionMetadata.HOODIE_PARTITION_METAFILE + "_" + taskPartitionId);