pjain1 commented on PR #13023:
URL: https://github.com/apache/druid/pull/13023#issuecomment-1272543536

   I think this causes a regression, for example if I add the following option 
in MM runtime properties files for peons -
   ```
   druid.indexer.runner.javaOptsArray=["-XX:+ExitOnOutOfMemoryError", 
"-XX:+HeapDumpOnOutOfMemoryError", 
"-XX:HeapDumpPath=/opt/druid/heapdumps/dumps/${HOSTNAME}.hprof"]
   ```
   Then the MM startup will fails with 
   ```
   Caused by: java.lang.IllegalArgumentException: Cannot resolve variable 
'SERVICE' (enableSubstitutionInVariables=true).
        at 
org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1451)
        at 
org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1308)
        at 
org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1392)
        at 
org.apache.commons.text.StringSubstitutor.substitute(StringSubstitutor.java:1308)
        at 
org.apache.commons.text.StringSubstitutor.replace(StringSubstitutor.java:816)
        at 
org.apache.druid.guice.JsonConfigurator.configurate(JsonConfigurator.java:104)
   ```
   Any thoughts ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to