Skip to content

Commit

Permalink
Merge 16c3d5d into 0e85887
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchuanyin committed Oct 18, 2018
2 parents 0e85887 + 16c3d5d commit a9caee3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,6 @@ public RecordWriter<NullWritable, ObjectArrayWritable> getRecordWriter(
iterator.closeWriter(true);
}
dataLoadExecutor.close();
// clean up the folders and files created locally for data load operation
TableProcessingOperations.deleteLocalDataLoadFolderLocation(loadModel, false, false);

throw new RuntimeException(e);
} finally {
ThreadLocalSessionInfo.unsetAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public static void deleteLocalDataLoadFolderLocation(String tempLocationKey, Str
}
});
} finally {
CarbonProperties.getInstance().removeProperty(tempLocationKey);
if (null != localFolderDeletionService) {
localFolderDeletionService.shutdown();
}
Expand Down

0 comments on commit a9caee3

Please sign in to comment.