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

[jira] [Resolved] (SPARK-38664) Support compact EventLog when there are illegal characters in the path

     [ https://issues.apache.org/jira/browse/SPARK-38664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

w l resolved SPARK-38664.
-------------------------
    Resolution: Won't Fix

> Support compact EventLog when there are illegal characters in the path
> ----------------------------------------------------------------------
>
>                 Key: SPARK-38664
>                 URL: https://issues.apache.org/jira/browse/SPARK-38664
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 2.4.8, 3.2.1
>            Reporter: w l
>            Priority: Minor
>
> When a path has illegal characters, it is escaped.  The file will not be found and compactor  will not work.
>  
> The path:  "/tmp/app%"
> Exception:
> java.io.FileNotFoundException: /tmp/app%25/events_7_app.compact.inprogress (No such file or directory)
> at java.io.FileOutputStream.open0(Native Method)
> at java.io.FileOutputStream.open(FileOutputStream.java:270)
> at java.io.FileOutputStream.(FileOutputStream.java:213)
> at java.io.FileOutputStream.(FileOutputStream.java:101)
> at org.apache.spark.deploy.history.EventLogFileWriter.initLogFile(EventLogFileWriters.scala:95)
> at org.apache.spark.deploy.history.SingleEventLogFileWriter.start(EventLogFileWriters.scala:223)
> at org.apache.spark.deploy.history.EventLogFileCompactor.rewrite(EventLogFileCompactor.scala:152)
> at org.apache.spark.deploy.history.EventLogFileCompactor.compact(EventLogFileCompactor.scala:94)



--
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