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

Exception key can't be empty at getSystemProperties function in utils

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Not A Problem
    • Affects Version/s: 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.1
    • Fix Version/s: None
    • Component/s: Spark Core
    • Labels:

      Description

      At file core/src/main/scala/org/apache/spark/util/Utils.scala
      getSystemProperties function fails when someone passes -D to the jvm and as a result the key passed is "" (empty).
      Exception thrown: java.lang.IllegalArgumentException: key can't be empty
      Empty keys should be ignored or just passed them without filtering at that level as in previous versions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skonto Stavros Kontopoulos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: