You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 16:33:12 UTC
[GitHub] [beam] kennknowles opened a new issue, #18189: FileBasedSink could write tmp files above the output prefix.
kennknowles opened a new issue, #18189:
URL: https://github.com/apache/beam/issues/18189
FileBasedWriteOperation.TemporaryDirectoryBuilder tempDirBuilder =
new FileBasedWriteOperation.TemporaryDirectoryBuilder();
tempDirBuilder.apply("/home/output/"),
apply() returns "/home/temp-beam-output-2017-01-25_22-14-49"
And, it was not under the output prefix "/home/output/".
Examples of Path resolve:
Paths.get("/home/output").resolve("temp-beam");
Paths.get("/home/output/").resolve("temp-beam");
/home/output/temp-beam
/home/output/temp-beam
Paths.get("/home/output").resolve("..").resolve("temp-beam");
Paths.get("/home/output/").resolve("..").resolve("temp-beam");
/home/output/../temp-beam
/home/output/../temp-beam
Paths.get("/home/output").resolveSibling("temp-beam");
Paths.get("/home/output/").resolveSibling("temp-beam");
/home/temp-beam
/home/temp-beam
Imported from Jira [BEAM-1315](https://issues.apache.org/jira/browse/BEAM-1315). Original Jira may contain additional context.
Reported by: peihe0@gmail.com.
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org