protected void startCleanupThreads() throws IOException { taskCleanupThread.setDaemon(true); taskCleanupThread.start(); logCleanupThread.setDaemon(true); logCleanupThread.start(); directoryCleanupThread = new CleanupQueue(); }
private void startCleanupThreads() throws IOException { taskCleanupThread.setDaemon(true); taskCleanupThread.start(); directoryCleanupThread = new CleanupQueue(); // start tasklog cleanup thread taskLogCleanupThread.setDaemon(true); taskLogCleanupThread.start(); }
new CleanupQueue().addToQueue(new PathDeletionContext( FileSystem.get(conf), getSystemDirectoryForJob(jobId).toUri().getPath())); userFileForJob.delete(); new CleanupQueue().addToQueue(new PathDeletionContext( FileSystem.get(conf), getSystemDirectoryForJob(jobId).toUri().getPath())); checkMemoryRequirements(job); } catch (IOException ioe) { new CleanupQueue().addToQueue(new PathDeletionContext( FileSystem.get(conf), getSystemDirectoryForJob(jobId).toUri().getPath()));
new CleanupQueue().addToQueue(new PathDeletionContext( FileSystem.get(conf), tempDir.toUri().getPath())); } catch (IOException e) {
new CleanupQueue().addToQueue(new PathDeletionContext( jobtracker.getFileSystem(), tempDir.toUri().getPath())); } catch (IOException e) {