[
https://issues.apache.org/jira/browse/SPARK-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Or closed SPARK-4075.
----------------------------
Resolution: Fixed
Fix Version/s: 1.1.1
Assignee: Kousuke Saruta
Target Version/s: 1.1.1, 1.2.0
> 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
> Assignee: Kousuke Saruta
> Priority: Minor
> Fix For: 1.1.1, 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: [email protected]
For additional commands, e-mail: [email protected]