[MINOR] Fix error usage of String.format (#1169)
This commit is contained in:
@@ -156,7 +156,7 @@ public class HoodieSnapshotCopier implements Serializable {
|
|||||||
// Create the _SUCCESS tag
|
// Create the _SUCCESS tag
|
||||||
Path successTagPath = new Path(outputDir + "/_SUCCESS");
|
Path successTagPath = new Path(outputDir + "/_SUCCESS");
|
||||||
if (!fs.exists(successTagPath)) {
|
if (!fs.exists(successTagPath)) {
|
||||||
LOG.info(String.format("Creating _SUCCESS under targetBasePath: $s", outputDir));
|
LOG.info(String.format("Creating _SUCCESS under targetBasePath: %s", outputDir));
|
||||||
fs.createNewFile(successTagPath);
|
fs.createNewFile(successTagPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user