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

Method cleanupOnSuccess

src/org/apache/pig/StoreFuncInterface.java:154–154  ·  view source on GitHub ↗

This method will be called by Pig if the job which contains this store is successful, and some cleanup of intermediate resources is required. Implementations can clean up output locations in this method to ensure that no incorrect/incomplete results are left in the output location @param location Lo

(String location, Job job)

Source from the content-addressed store, hash-verified

152 * any runtime job information.
153 */
154 void cleanupOnSuccess(String location, Job job) throws IOException;
155}

Callers 6

testSucessMethod · 0.65
testSucessMethod · 0.65
cleanupOnSuccessMethod · 0.65
cleanUpSparkJobMethod · 0.65
launchPigMethod · 0.65
launchPigMethod · 0.65

Implementers 15

AvroStoragecontrib/piggybank/java/src/main/java/o
DummyStoreFunctest/org/apache/pig/TestStoreFuncWrapp
StoreFuncsrc/org/apache/pig/StoreFunc.java
StoreFuncWrappersrc/org/apache/pig/StoreFuncWrapper.ja
AbstractAccumuloStoragesrc/org/apache/pig/backend/hadoop/accu
HBaseStoragesrc/org/apache/pig/backend/hadoop/hbas
InterStoragesrc/org/apache/pig/impl/io/InterStorag
TFileStoragesrc/org/apache/pig/impl/io/TFileStorag
SequenceFileInterStoragesrc/org/apache/pig/impl/io/SequenceFil
OrcStoragesrc/org/apache/pig/builtin/OrcStorage.
PigStoragesrc/org/apache/pig/builtin/PigStorage.
AvroStoragesrc/org/apache/pig/builtin/AvroStorage

Calls

no outgoing calls

Tested by 2

testSucessMethod · 0.52
testSucessMethod · 0.52