zjffdu commented on a change in pull request #4097: URL: https://github.com/apache/zeppelin/pull/4097#discussion_r616830110
########## File path: zeppelin-plugins/launcher/yarn/src/main/java/org/apache/zeppelin/interpreter/launcher/YarnRemoteInterpreterProcess.java ########## @@ -242,13 +244,15 @@ private ContainerLaunchContext setUpAMLaunchContext() throws IOException { // Set the resources to localize this.stagingDir = new Path(fs.getHomeDirectory() + "/.zeppelinStaging", appId.toString()); + LOGGER.info("Use staging directory: {}", this.stagingDir); Map<String, LocalResource> localResources = new HashMap<>(); File interpreterZip = createInterpreterZip(); Path srcPath = localFs.makeQualified(new Path(interpreterZip.toURI())); Path destPath = copyFileToRemote(stagingDir, srcPath, (short) 1); addResource(fs, destPath, localResources, LocalResourceType.ARCHIVE, "zeppelin"); - FileUtils.forceDelete(interpreterZip); + LOGGER.info("Add zeppelin archive: {}", destPath); + //FileUtils.forceDelete(interpreterZip); Review comment: Right, I have uncommented it now. -- 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