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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.1
    • None
    • Spark Core

    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

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

            Dates

              Created:
              Updated:
              Resolved: