I want to give custom cluster name to create index but I am not able to do
so as after changing the setting in elasticsearch.yml when I tries to start
the instance it gives me following error as:
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
[dmadmin@INDDTMDIDX01 bin]$ ./elasticsearch
[dmadmin@INDDTMDIDX01 bin]$ {0.19.10}: Setup Failed ...
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
Can anyone please help me out in this?
I want to give custom cluster name to create index but I am not able to do so as after changing the setting in elasticsearch.yml when I tries to start the instance it gives me following error as:
In your elasticsearch.yml, you probably have a line that looks like this:
cluster.name:"some-elasticsearch-cluster-name"
Put space between : and ", so it looks like this:
cluster.name: "some-elasticsearch-cluster-name"
If this doesn't help, please post your elasticsearch.yml file as Rafał has
already suggested.
On Monday, December 3, 2012 3:21:32 AM UTC-5, Mayank wrote:
Hi,
I want to give custom cluster name to create index but I am not able to do
so as after changing the setting in elasticsearch.yml when I tries to start
the instance it gives me following error as:
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
[dmadmin@INDDTMDIDX01 bin]$ ./elasticsearch
[dmadmin@INDDTMDIDX01 bin]$ {0.19.10}: Setup Failed ...
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
Can anyone please help me out in this?
Thanks for the suggestion it worked by reinstalling the instance again with
the old elasticsearch.yml.
On Tuesday, December 4, 2012 12:19:11 AM UTC+5:30, Igor Motov wrote:
In your elasticsearch.yml, you probably have a line that looks like this:
cluster.name:"some-elasticsearch-cluster-name"
Put space between : and ", so it looks like this:
cluster.name: "some-elasticsearch-cluster-name"
If this doesn't help, please post your elasticsearch.yml file as Rafał has
already suggested.
On Monday, December 3, 2012 3:21:32 AM UTC-5, Mayank wrote:
Hi,
I want to give custom cluster name to create index but I am not able to
do so as after changing the setting in elasticsearch.yml when I tries to
start the instance it gives me following error as:
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
[dmadmin@INDDTMDIDX01 bin]$ ./elasticsearch
[dmadmin@INDDTMDIDX01 bin]$ {0.19.10}: Setup Failed ...
SettingsException[Failed to load settings from
[file:/dctm/app/elasticsearch-0.19.10_Second_Instance/config/elasticsearch.yml]]
ParserException[null; expected '', but found
BlockMappingStart]
Can anyone please help me out in this?
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.