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

Apache Spark commented on SPARK-4075:
-------------------------------------

User 'sarutak' has created a pull request for this issue:
https://github.com/apache/spark/pull/2925

> Jar url validation is not enough for Jar file
> ---------------------------------------------
>
>                 Key: SPARK-4075
>                 URL: https://issues.apache.org/jira/browse/SPARK-4075
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 1.2.0
>            Reporter: Kousuke Saruta
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> In deploy.ClientArguments.isValidJarUrl, the url is checked as follows.
> {code}
> def isValidJarUrl(s: String): Boolean = s.matches("(.+):(.+)jar")
> {code}
> So, it allows like 'hdfs:file.jar' (no authority).



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

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

Reply via email to