elasticsearch - ElasticsearchParseException: malformed, expected settings to start with 'object', instead was [VALUE_STRING] -


i got following exception while starting elastic search server

exception in thread "main" org.elasticsearch.common.settings.settingsexception: failed load settings [file:/usr/local/elasticsearch-1.7.1/config/elasticsearch.yml]         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromstream(immutablesettings.java:985)         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromurl(immutablesettings.java:969)         @ org.elasticsearch.node.internal.internalsettingspreparer.preparesettings(internalsettingspreparer.java:95)         @ org.elasticsearch.plugins.pluginmanager.main(pluginmanager.java:396) caused by: org.elasticsearch.elasticsearchparseexception: malformed, expected settings start 'object', instead [value_string]         @ org.elasticsearch.common.settings.loader.xcontentsettingsloader.load(xcontentsettingsloader.java:66)         @ org.elasticsearch.common.settings.loader.xcontentsettingsloader.load(xcontentsettingsloader.java:46)         @ org.elasticsearch.common.settings.loader.yamlsettingsloader.load(yamlsettingsloader.java:46)         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromstream(immutablesettings.java:982)         ... 3 more 

i got issue.

i had updated config/elasticsearch.yml cluster.name , node.name below

cluster.name:my_elastic_cluster   node.name:"el1_node" 

but parser doesn't format. need spaces ":" delimiter

i added 1 space before , after : , worked !!!

> cluster.name : my_elastic_cluster   > node.name : "el1_node" 

Comments

  1. Elasticsearch - Elasticsearchparseexception: Malformed, Expected
    Settings To Start With Object, Instead Was [Value_String] - >>>>> Download Now

    >>>>> Download Full

    Elasticsearch - Elasticsearchparseexception: Malformed, Expected
    Settings To Start With Object, Instead Was [Value_String] - >>>>> Download LINK

    >>>>> Download Now

    Elasticsearch - Elasticsearchparseexception: Malformed, Expected
    Settings To Start With Object, Instead Was [Value_String] - >>>>> Download Full

    >>>>> Download LINK 4A

    ReplyDelete

Post a Comment

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

Log not being recorded for quickfix c++ Session -

ios - NSFetchedResultsController not calling delegate methods on changes using NSPredicate with subquery -