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

Dongjoon Hyun reopened SPARK-38664:
-----------------------------------

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to