Home > other >  Elasticsearch - SQL plug-in installed, start elast error.
Elasticsearch - SQL plug-in installed, start elast error.

Time:09-22

1, elasticsearch version 7.1.0
2, elasticsearch - SQL from the official download plugin after decompression in the plugin directory, and modify the file called SQL
3, start the elasticsearch, error,

[the 2019-11-08 T15:50:03, 926] [INFO] [O.E.X.M.P.L.C ppLogMessageHandler] [node - 1] [controller/23140] [Main. Cc @ 109] controller (64 - bit) : Version 7.1.0 (Build a8ee6de8087169) Copyright (c) 2019 Elasticsearch BV
[the 2019-11-08 T15:50:04, 342] [the DEBUG] [O.E.A.A ctionModule] [node - 1] Using REST wrapper from plugin org. Elasticsearch. Xpack. Security. Security
[the 2019-11-08 T15:50:04, 567] [INFO] [O.E.D.D iscoveryModule] [node - 1] using the discovery type [zen] and seed hosts will (Settings)
[the 2019-11-08 T15:50:05, 214] [WARN] [O.E.B.E lasticsearchUncaughtExceptionHandler] [node - 1] uncaught exception in the thread (main)
Org. Elasticsearch. The bootstrap. StartupException: Java. Lang. IllegalArgumentException: always replace existing handler for [/_sql] for method: GET
The at org. Elasticsearch. The bootstrap. Elasticsearch. Init (elasticsearch. Java: 163) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. Elasticsearch. Execute (elasticsearch. Java: 150) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Cli. EnvironmentAwareCommand. Execute (EnvironmentAwareCommand. Java: 86) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
At org.elasticsearch.cli.Com mand. MainWithoutErrorHandling (124). The Command Java: ~ [elasticsearch - cli - 7.1.0. Jar: 7.1.0]
Mand at org.elasticsearch.cli.Com. The main (90). The Command Java: ~ [elasticsearch - cli - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. Elasticsearch. Main (elasticsearch. Java: 115) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. Elasticsearch. Main (elasticsearch. Java: 92) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
Under Caused by: Java. Lang. IllegalArgumentException: always replace existing handler for [/_sql] for method: GET
The at org. Elasticsearch. Rest. MethodHandlers. AddMethod (MethodHandlers. Java: 50) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Rest. MethodHandlers. AddMethods (MethodHandlers. Java: 61) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Rest. RestController. Lambda $registerHandler $1 (156) RestController. Java: ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
At org.elasticsearch.com, mon. Path. PathTrie $TrieNode. InsertOrUpdate (PathTrie. Java: 172) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
At org.elasticsearch.com, mon. Path. PathTrie. InsertOrUpdate (PathTrie. Java: 321) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Rest. RestController. RegisterHandler (RestController. Java: 155) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Rest. RestController. RegisterWithDeprecatedHandler (RestController. Java: 140) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Xpack. SQL. Plugin. RestSqlQueryAction. & lt; init> (RestSqlQueryAction. Java: 44) ~/:?
The at org. Elasticsearch. Xpack. SQL. Plugin. SqlPlugin. GetRestHandlers (SqlPlugin. Java: 123) ~/:?
The at org. Elasticsearch. Action. ActionModule. InitRestHandlers (ActionModule. Java: 680) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Node. Node. & lt; init> (Node. Java: 577) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. Node. Node. & lt; init> (Node. Java: 252) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. The bootstrap $5. & lt; init> (the Bootstrap. Java: 211) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. The bootstrap. Setup (211) the bootstrap. Java: ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. The bootstrap. Init (325) the bootstrap. Java: ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
The at org. Elasticsearch. The bootstrap. Elasticsearch. Init (elasticsearch. Java: 159) ~ [elasticsearch - 7.1.0. Jar: 7.1.0]
. Six more
[the 2019-11-08 T15:50:05, 217] [INFO] [O.E.X.M.P.N ativeController] [node - 1] Native controller process has stopped - no new Native the processes can be started

CodePudding user response:

The great god know how to solve?

CodePudding user response:

The configuration of x - pack?

CodePudding user response:

Elasticsearch. Yml disable xpack - SQL
  • Related