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

Method shutdown

src/org/apache/pig/PigServer.java:1351–1360  ·  view source on GitHub ↗

Reclaims resources used by this instance of PigServer. This method deletes all temporary files generated by the current thread while executing Pig commands.

()

Source from the content-addressed store, hash-verified

1349 * executing Pig commands.
1350 */
1351 public void shutdown() {
1352 // clean-up activities
1353 // TODO: reclaim scope to free up resources. Currently
1354 // this is not implemented and throws an exception
1355 // hence, for now, we won't call it.
1356 //
1357 // pigContext.getExecutionEngine().reclaimScope(this.scope);
1358
1359 FileLocalizer.deleteTempFiles();
1360 }
1361
1362 /**
1363 * Get the set of all current aliases.

Callers 15

testNonFSLoadFuncMethod · 0.95
testInlineMacroMethod · 0.95
testOnClusterMethod · 0.95
testMultiCombinerUseMethod · 0.95
testDistinctAggs1Method · 0.95
testGroupAndUnionMethod · 0.95
testGroupElementsMethod · 0.95
testGroupByLimitMethod · 0.95

Calls 1

deleteTempFilesMethod · 0.95

Tested by 15

testNonFSLoadFuncMethod · 0.76
testInlineMacroMethod · 0.76
testOnClusterMethod · 0.76
testMultiCombinerUseMethod · 0.76
testDistinctAggs1Method · 0.76
testGroupAndUnionMethod · 0.76
testGroupElementsMethod · 0.76
testGroupByLimitMethod · 0.76