java - elasticsearch can't install head plugin -


i planing install head pluging elasticsearch.

in both these 2 official documentation, http://mobz.github.io/elasticsearch-head/ , http://docs.couchbase.com/admin/elastic/install-plugin.html said use this:

bin/plugin -install mobz/elasticsearch-head  

i did, got following error:

ps c:\elasticsearch-1.3.9\elasticsearch-1.3.9> bin/plugin -install mobz/elasticsearch-head exception in thread "main" org.elasticsearch.common.settings.settingsexception: failed load settings [file:/c:/ lasticsearch-1.3.9/elasticsearch-1.3.9/config/elasticsearch.yml]         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromstream(immutablesettings.java:947)         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromurl(immutablesettings.java:931)         @ org.elasticsearch.node.internal.internalsettingspreparer.preparesettings(internalsettingspreparer.java:77)         @ org.elasticsearch.plugins.pluginmanager.main(pluginmanager.java:382) caused by: unacceptable character ' ' (0x0) special characters not allowed in "'reader'", position 13489         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.reader.streamreader.checkprintable(streamreader.j va:93)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.reader.streamreader.update(streamreader.java:192)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.reader.streamreader.peek(streamreader.java:146)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.scanner.scannerimpl.scantonexttoken(scannerimpl.j va:1199)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.scanner.scannerimpl.fetchmoretokens(scannerimpl.j va:289)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.scanner.scannerimpl.checktoken(scannerimpl.java:2 6)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.parser.parserimpl$parseimplicitdocumentstart.prod ce(parserimpl.java:195)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.parser.parserimpl.peekevent(parserimpl.java:158)         @ org.elasticsearch.common.jackson.dataformat.yaml.snakeyaml.parser.parserimpl.getevent(parserimpl.java:168)         @ org.elasticsearch.common.jackson.dataformat.yaml.yamlparser.nexttoken(yamlparser.java:331)         @ org.elasticsearch.common.xcontent.json.jsonxcontentparser.nexttoken(jsonxcontentparser.java:50)         @ org.elasticsearch.common.settings.loader.xcontentsettingsloader.load(xcontentsettingsloader.java:60)         @ org.elasticsearch.common.settings.loader.xcontentsettingsloader.load(xcontentsettingsloader.java:45)         @ org.elasticsearch.common.settings.loader.yamlsettingsloader.load(yamlsettingsloader.java:46)         @ org.elasticsearch.common.settings.immutablesettings$builder.loadfromstream(immutablesettings.java:944)         ... 3 more 

as trying diagnosis error, found there might b wrong in elasticsearch.yml file. went file, , opened using notpadd++, , commented except last three-four lines, letters not understandable. print screen of them:

enter image description here

could please

in file shouldn't have chars. remove them , start over. or take clean instance of es, take config file , use it.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -