[ 
https://issues.apache.org/jira/browse/SPARK-19260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833217#comment-15833217
 ] 

zuotingbing edited comment on SPARK-19260 at 1/22/17 4:22 AM:
--------------------------------------------------------------

Yes it is a invaild URI but the err msg " Log directory specified does not 
exist: file:/root/file:/a%20b" is unreasonable anyway.
What is the point of using URI? It seems that the param of 
"spark.history.fs.logDirectory" is a path of a directory.  

===============================================
p.s. "/abc%20c" is a valid URI but still run failed.
./start-history-server.sh "/abc%20c"

Caused by: java.lang.IllegalArgumentException: Log directory specified does not 
exist: file:/abc%2520c/.
        at 
org.apache.spark.deploy.history.FsHistoryProvider.org$apache$spark$deploy$history$FsHistoryProvider$$startPolling(FsHistoryProvider.scala:201)



was (Author: zuo.tingbing9):
Yes it is a invaild URI but the err msg " Log directory specified does not 
exist: file:/root/file:/a%20b" is unreasonable anyway.
What is the point of using URI? It seems that the param of 
"spark.history.fs.logDirectory" is a path of a directory.  

>  Spaces in path parameter are not correctly handled with HistoryServer
> ----------------------------------------------------------------------
>
>                 Key: SPARK-19260
>                 URL: https://issues.apache.org/jira/browse/SPARK-19260
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.1.0
>         Environment: linux
>            Reporter: zuotingbing
>
> A space character in URI may be encoded as  "%20".
> It seems that the string of URI expects to be decoded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to