You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post type removal in #1940, need to remove the same from client bulk indexing benchmark. type is taken as input from the CLI.
Code usage, defined here.
Today, running bulk indexing benchmark fails with 400 bad request
Command
gradlew -p client/benchmark run --args ' rest bulk localhost build/documents-2.json geonames type 8647880 5000'
Output
org.opensearch.OpenSearchException: org.opensearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/geonames/type/_noop_bulk], status line [HTTP/1.1 400 Bad Request]
{"error":"no handler found for uri [/geonames/type/_noop_bulk] and method [POST]"}
at org.opensearch.client.benchmark.rest.RestClientBenchmark$RestBulkRequestExecutor.bulkIndex(RestClientBenchmark.java:100) ~[main/:?]
at org.opensearch.client.benchmark.ops.bulk.BulkBenchmarkTask$BulkIndexer.run(BulkBenchmarkTask.java:191) [main/:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: org.opensearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/geonames/type/_noop_bulk], status line [HTTP/1.1 400 Bad Request]
{"error":"no handler found for uri [/geonames/type/_noop_bulk] and method [POST]"}
at org.opensearch.client.RestClient.convertResponse(RestClient.java:350) ~[opensearch-rest-client-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
at org.opensearch.client.RestClient.performRequest(RestClient.java:320) ~[opensearch-rest-client-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
at org.opensearch.client.RestClient.performRequest(RestClient.java:295) ~[opensearch-rest-client-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
at org.opensearch.client.benchmark.rest.RestClientBenchmark$RestBulkRequestExecutor.bulkIndex(RestClientBenchmark.java:97) ~[main/:?]
... 6 more
[
The text was updated successfully, but these errors were encountered:
Coming from discussion in #2979.
Background
Post type removal in #1940, need to remove the same from client bulk indexing benchmark. type is taken as input from the CLI.
Code usage, defined here.
Today, running bulk indexing benchmark fails with
400 bad request
Command
Output
The text was updated successfully, but these errors were encountered: