MCPcopy Create free account
hub / github.com/apache/pig / deleteTempFiles

Method deleteTempFiles

src/org/apache/pig/impl/io/FileLocalizer.java:523–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

521 }
522
523 public static void deleteTempFiles() {
524 if (relativeRoot.get() != null) {
525 try {
526 relativeRoot.get().delete();
527 } catch (IOException e) {
528 log.error(e);
529 }
530 setInitialized(false);
531 }
532 }
533
534 public static void deleteTempResourceFiles() {
535 if (resourcePath != null) {

Callers 12

resetFileLocalizerMethod · 0.95
setUpMethod · 0.95
cleanUpTmpFilesMethod · 0.95
testImportListMethod · 0.95
setUpMethod · 0.95
setUpMethod · 0.95
testLocalMethod · 0.95
oneTimeTearDownMethod · 0.95
resetFileLocalizerMethod · 0.95
shutdownMethod · 0.95
runMethod · 0.95

Calls 4

setInitializedMethod · 0.95
getMethod · 0.65
deleteMethod · 0.65
errorMethod · 0.45

Tested by 10

resetFileLocalizerMethod · 0.76
setUpMethod · 0.76
cleanUpTmpFilesMethod · 0.76
testImportListMethod · 0.76
setUpMethod · 0.76
setUpMethod · 0.76
testLocalMethod · 0.76
oneTimeTearDownMethod · 0.76
resetFileLocalizerMethod · 0.76