Thomas Graves created SPARK-30742:
-------------------------------------

             Summary: Resource discovery should protect against user returing 
empty string for address
                 Key: SPARK-30742
                 URL: https://issues.apache.org/jira/browse/SPARK-30742
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 3.0.0
            Reporter: Thomas Graves


Using the resource discovery with custom resource scheduling, the user could 
return an empty string for an address.  Currently we allow this but it doesn't 
make sense.

We should protect against this and remove any empty strings.

To reproduce write a discoveryScript that returns valid json but one of the 
addresses is the empty string.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to