Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/5792#discussion_r30939272
--- Diff: core/src/main/scala/org/apache/spark/util/Utils.scala ---
@@ -777,6 +778,42 @@ private[spark] object Utils extends Logging {
}
/**
+ * This method compresses the files passed in, and writes the compressed
data out into the
+ * [[OutputStream]] passed in. Each file is written as a new
[[ZipEntry]] with its name being
+ * the name of the file being compressed.
+ */
+ private[spark] def zipFilesToStream(
--- End diff --
I'll double-check how this method is being used, but it needs at least some
exception-safety to close the input streams it's creating.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]