ElasticSearch ArrayIndexOutOfBoundsException
See original GitHub issueHello,
I’m trying to use the ElasticSearch5-Rest Client to connect to an AWS ElasticSearch instance but I keep getting an exception when trying to start the workload.
Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 1
at com.yahoo.ycsb.db.elasticsearch5.ElasticsearchRestClient.init(ElasticsearchRestClient.java:87)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:86)
at com.yahoo.ycsb.ClientThread.run(ClientThread.java:91)
at java.lang.Thread.run(Thread.java:748)
I’ve also tried with the regular ElasticSearch and ElasticSearch5 bindings. Any help would be much appreciated.
Thanks, Huy
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
How to fix "java.lang.ArrayIndexOutOfBoundsException ...
I updated all configurations like node name and deleted the /var/lib/elasticsearch/nodes folder and tried to start the ES server on the new node ......
Read more >Elastic Search java.lang.ArrayIndexOutOfBoundsException
Iam trying to integrate data from Hadoop to Elastic Search and it throws the above given error on the container logs of hadoop....
Read more >JapaneseTokenizer creates Token objects with corrupt offsets
Caused by: java.lang.ArrayIndexOutOfBoundsException at org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl.copyBuffer( ...
Read more >Index (elasticsearch 0.11.0 API) - javadoc.io
abs(Integer) - Static method in class org.elasticsearch.common.math. ... MathRuntimeException: Constructs a new ArrayIndexOutOfBoundsException with ...
Read more >"Fossies" - the Fresh Open Source Software Archive
Member "elasticsearch-6.8.23/docs/painless/painless-api-reference/ArrayIndexOutOfBoundsException.asciidoc" (29 Dec 2021, 1105 Bytes) of package ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hngo4619 - What is the full command you used to launch?
Most likely you are not specifying
es_host:es_port
for your host list:https://github.com/brianfrankcooper/YCSB/blob/master/elasticsearch5/src/main/java/com/yahoo/ycsb/db/elasticsearch5/ElasticsearchRestClient.java#L87
The elasticsearch5 binding readme describes the required format -https://github.com/brianfrankcooper/YCSB/tree/master/elasticsearch5
==my use this code this ok . this Elasticsearch-5.5.0 ./bin/ycsb run elasticsearch5-rest -P workloads/workloada -p “es.hosts.list=172.18.3.120:9200,172.18.3.121:9200,172.18.3.122:9200”