You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/02/23 16:30:00 UTC

[jira] [Created] (SPARK-38305) Check existence of file before untarring/zipping

Sean R. Owen created SPARK-38305:
------------------------------------

             Summary: Check existence of file before untarring/zipping
                 Key: SPARK-38305
                 URL: https://issues.apache.org/jira/browse/SPARK-38305
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.2.1
            Reporter: Sean R. Owen
            Assignee: Sean R. Owen


Some discussion related to Hadoop revealed that its FileUtil.unTar and unZip methods might have a problem if the source file does not actually exist.

It's trivial to check for this in the one place we use it in Spark, and just explicitly error if the source file does not exist.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org