if (null != outputLocation) { if (outputToHDFS && fileSystemStorage.exists(outputLocation)) fileSystemStorage.rm(outputLocation); if (outputToSpark && sparkContextStorage.exists(outputLocation)) sparkContextStorage.rm(outputLocation); fileSystemStorage.rm(outputLocation); if (outputToSpark) sparkContextStorage.rm(outputLocation);
if (null != outputLocation) { if (outputToHDFS && fileSystemStorage.exists(outputLocation)) fileSystemStorage.rm(outputLocation); if (outputToSpark && sparkContextStorage.exists(outputLocation)) sparkContextStorage.rm(outputLocation); fileSystemStorage.rm(outputLocation); if (outputToSpark) sparkContextStorage.rm(outputLocation);