Search code examples
javascalacommand-linepropertiestypesafe-config

override typesafe configuration list to empty on command line


How can I override a list in typesafe configuration to empty list?

My error is

has type STRING rather than LIST

for experimenting with:

--conf "spark.driver.extraJavaOptions=-Dvalue-foo=''"
--conf "spark.driver.extraJavaOptions=-Dvalue-foo=[]"

how can i override a typesafe config list value on the command line? only outlines how to set specific values


Solution

  • This was an mitigation but as cant override Typesafe configuration on commmandline in spark is working no longer required.

    Also, it seems that this is currently unsupported behavior: https://github.com/lightbend/config/issues/380