dkaznacheev commented on a change in pull request #3440: [ZEPPELIN-4323] Kotlin support for Spark interpreter URL: https://github.com/apache/zeppelin/pull/3440#discussion_r344284739
########## File path: zeppelin-zengine/src/main/java/org/apache/zeppelin/storage/LocalConfigStorage.java ########## @@ -128,7 +128,8 @@ static void atomicWriteToFile(String content, File file) throws IOException { } try { file.getParentFile().mkdirs(); - Files.move(tempFile.toPath(), destinationFilePath, StandardCopyOption.ATOMIC_MOVE); + Files.move(tempFile.toPath(), destinationFilePath, + StandardCopyOption.REPLACE_EXISTING); //StandardCopyOption.ATOMIC_MOVE); Review comment: Atomic move caused errors on Linux, I suggest asking khud about that ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services