Advertisement
Guest User

Untitled

a guest
Mar 26th, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. [elastic@server5 ~]$ ./elasticsearch/bin/elasticsearch
  2. future versions of Elasticsearch will require Java 11; your Java version from [/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.201.b09-2.el7_6.x86_64/jre] does not meet this requirement
  3. Exception in thread "main" 2020-03-26 10:00:05,183 main ERROR No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
  4. SettingsException[Failed to load settings from [elasticsearch.yml]]; nested: MarkedYAMLException[mapping values are not allowed here
  5. in 'reader', line 11, column 27:
  6. node.ml: falsecluster.name: my_cluster
  7. ^
  8.  
  9. at [Source: sun.nio.ch.ChannelInputStream@3571b748; line: 11, column: 27]]; nested: ScannerException[mapping values are not allowed here
  10. in 'reader', line 11, column 27:
  11. node.ml: falsecluster.name: my_cluster
  12. ^
  13. ];
  14. at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1097)
  15. at org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1070)
  16. at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:83)
  17. at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
  18. at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
  19. at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
  20. at org.elasticsearch.cli.Command.main(Command.java:90)
  21. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
  22. at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
  23. Caused by: com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException: mapping values are not allowed here
  24. in 'reader', line 11, column 27:
  25. node.ml: falsecluster.name: my_cluster
  26. ^
  27.  
  28. at [Source: sun.nio.ch.ChannelInputStream@3571b748; line: 11, column: 27]
  29. at com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException.from(MarkedYAMLException.java:27)
  30. at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:343)
  31. at org.elasticsearch.common.xcontent.json.JsonXContentParser.nextToken(JsonXContentParser.java:52)
  32. at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:645)
  33. at org.elasticsearch.common.settings.Settings.fromXContent(Settings.java:620)
  34. at org.elasticsearch.common.settings.Settings.access$400(Settings.java:82)
  35. at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1093)
  36. ... 8 more
  37. Caused by: mapping values are not allowed here
  38. in 'reader', line 11, column 27:
  39. node.ml: falsecluster.name: my_cluster
  40. ^
  41.  
  42. at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)
  43. at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
  44. at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)
  45. at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:557)
  46. at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
  47. at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:167)
  48. at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:340)
  49. ... 13 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement