davidradl commented on code in PR #26450:
URL: https://github.com/apache/flink/pull/26450#discussion_r2042124181
##########
flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/ChangelogStreamHandleReaderWithCache.java:
##########
@@ -128,7 +128,7 @@ private RefCountedFile downloadToCacheFile(FileStateHandle
fileHandle) {
File directory = cacheDirectories[next.getAndIncrement() %
cacheDirectories.length];
File file;
try {
- file = File.createTempFile(CACHE_FILE_PREFIX, null, directory);
+ file = Files.createTempFile(directory.toPath(), CACHE_FILE_PREFIX,
null).toFile();
Review Comment:
nit: maybe add deleteOnExit for this and the YarnClusterDescriptor.
--
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]