[ 
https://issues.apache.org/jira/browse/SPARK-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-11025.
-------------------------------
    Resolution: Not A Problem

Personally I would rather not change the behavior, since it's a change, and, 
seems to allow a mistake that should be caught straight away. If I type "-D 
foo=bar" I'd rather figure out my mistake now than spend hours understanding 
who foo is not set to bar.

> Exception key can't be empty at getSystemProperties function in utils 
> ----------------------------------------------------------------------
>
>                 Key: SPARK-11025
>                 URL: https://issues.apache.org/jira/browse/SPARK-11025
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.1
>            Reporter: Stavros Kontopoulos
>            Priority: Trivial
>              Labels: easyfix, easytest
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to