Skip to content
Snippets Groups Projects
Commit 7306d556 authored by Lior Regev's avatar Lior Regev Committed by Sean Owen
Browse files

[SPARK-20741][SPARK SUBMIT] Added cleanup of JARs archive generated by SparkSubmit

## What changes were proposed in this pull request?

Deleted generated JARs archive after distribution to HDFS

## How was this patch tested?

Please review http://spark.apache.org/contributing.html before opening a pull request.

Author: Lior Regev <lioregev@gmail.com>

Closes #17986 from liorregev/master.
parent 139da116
No related branches found
No related tags found
No related merge requests found
......@@ -545,6 +545,7 @@ private[spark] class Client(
distribute(jarsArchive.toURI.getPath,
resType = LocalResourceType.ARCHIVE,
destName = Some(LOCALIZED_LIB_DIR))
jarsArchive.delete()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment