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

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

i have tested these cases successfully which failed before 

local:
.sbin/start-history-server.sh "file:/a b"
.sbin/start-history-server.sh "/abc%20c"  (without hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b"  (without hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b/a bc%20c" (without 
hdfs-site.xml,core-site.xml)

hdfs:
.sbin/start-history-server.sh "hdfs:/namenode:9000/a b"
.sbin/start-history-server.sh "/a b" (with hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b/a bc%20c" (with hdfs-site.xml,core-site.xml)



was (Author: zuo.tingbing9):
i have tested these cases successfully which failed before 

local:
.sbin/start-history-server.sh "file:/a b"
.sbin/start-history-server.sh "/abc%20c"  (without hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b"  (without hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b/a bc%20c" (without 
hdfs-site.xml,core-site.xml)

hdfs:
.sbin/start-history-server.sh "hdfs:/namenode:9000/a b" (without 
hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b" (with hdfs-site.xml,core-site.xml)
.sbin/start-history-server.sh "/a b/a bc%20c" (with hdfs-site.xml,core-site.xml)


>  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
>
> run .sbin/start-history-server.sh "file:/a b"
> And you get the error:
> Caused by: java.lang.IllegalArgumentException: Log directory specified does 
> not exist: file:/root/file:/a%20b.
> at 
> org.apache.spark.deploy.history.FsHistoryProvider.org$apache$spark$deploy$history$FsHistoryProvider$$startPolling(FsHistoryProvider.scala:201)



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