iiiusky commented on a change in pull request #4282: URL: https://github.com/apache/zeppelin/pull/4282#discussion_r826607894
########## File path: zeppelin-zengine/src/main/java/org/apache/zeppelin/interpreter/InterpreterSettingManager.java ########## @@ -1038,8 +1038,10 @@ private boolean inlineRemove(String id, boolean initiator) throws IOException { removed = true; } - File localRepoDir = new File(conf.getInterpreterLocalRepoPath() + "/" + id); - FileUtils.deleteDirectory(localRepoDir); + File localRepoPath = new File(conf.getInterpreterLocalRepoPath()); + if (Arrays.stream(localRepoPath.list()).anyMatch(id::equals)) { Review comment: I'm sorry, I've been busy these two days, can you give me some time to deal with my own affairs first? Submit the code by next week at the latest -- 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: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org