You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/10/09 11:49:26 UTC

[jira] [Commented] (SPARK-11025) Exception key can't be empty at getSystemProperties function in utils

    [ https://issues.apache.org/jira/browse/SPARK-11025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950145#comment-14950145 ] 

Sean Owen commented on SPARK-11025:
-----------------------------------

What behavior do you suggest - ignoring it? Clearly {{-D}} by itself is a mistake though. It should cause an error that you notice.

> 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 at that level as in previous versions.



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

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