I have parameterized my elasticsearch.yml file like so:
node.name: ${NODE_NAME}
This let's me pass in NODE_NAME as an environment variable when running
ES. I was hoping that if NODE_NAME was undefined, ES would fall back to
the default of picking a dynamic name, but it just dies. Is there any way
to specify an optional syntax for env variables?
I have parameterized my elasticsearch.yml file like so:
node.name: ${NODE_NAME}
This let's me pass in NODE_NAME as an environment variable when running
ES. I was hoping that if NODE_NAME was undefined, ES would fall back to
the default of picking a dynamic name, but it just dies. Is there any way
to specify an optional syntax for env variables?
On Thursday, October 16, 2014 6:49:13 PM UTC-4, Mark Walkom wrote:
You could try using an if statement in your env variable?
On 17 October 2014 06:50, Matt Hughes <hughe...@gmail.com <javascript:>>
wrote:
I have parameterized my elasticsearch.yml file like so:
node.name: ${NODE_NAME}
This let's me pass in NODE_NAME as an environment variable when running
ES. I was hoping that if NODE_NAME was undefined, ES would fall back to
the default of picking a dynamic name, but it just dies. Is there any way
to specify an optional syntax for env variables?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.