Travis Thompson created SPARK-2499:
--------------------------------------

             Summary: spark-default.conf parser doesn't ignore inline comments
                 Key: SPARK-2499
                 URL: https://issues.apache.org/jira/browse/SPARK-2499
             Project: Spark
          Issue Type: Bug
    Affects Versions: 1.0.1
            Reporter: Travis Thompson


If you add a comment to spark-default.conf at the end of a line, spark will try 
to parse it, example:

spark-default.conf
{noformat}
spark.ui.port=0 # This forces the webui to always start on a random port
{noformat}

Error:
{noformat}
java.lang.NumberFormatException: For input string: "0 # This forces the webui 
to always start on a random port"
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to