You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2014/10/24 12:10:33 UTC

[jira] [Created] (SPARK-4075) Jar url validation is not enough for Jar file

Kousuke Saruta created SPARK-4075:
-------------------------------------

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