Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4075

Jar url validation is not enough for Jar file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.1.1, 1.2.0
    • Component/s: Deploy
    • Labels:
      None

      Description

      In deploy.ClientArguments.isValidJarUrl, the url is checked as follows.

      def isValidJarUrl(s: String): Boolean = s.matches("(.+):(.+)jar")
      

      So, it allows like 'hdfs:file.jar' (no authority).

        Attachments

          Activity

            People

            • Assignee:
              sarutak Kousuke Saruta
              Reporter:
              sarutak Kousuke Saruta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: