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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to