Closed Shortyxxy closed 7 years ago
To use the elasticsearch5
flag, add the following line in bin/yscb, in dictionary DATABASES
:
"elasticsearch5": "com.yahoo.ycsb.db.elasticsearch5.ElasticsearchClient",
Thank you very much @levaphenyl for the instruction! It is actually working now with the elasticsearch5 flag and Elasticsearch version 5.5.1 as well as the new 5.5.2 (it is not working with 6.0.0 but its just a beta so we shouldn't really care). It tried it on a local machine as well as with a remote call to another server with a running Elasticsearch instance, both works, so the issue can be closed from my side!
Hello, i have a problem using the Elasticsearch binding in remote mode. I tried the following command with the Elasticsearch versions 5.5.1, 5.5.2 and 6.0.0 beta and the YCSB version 0.12.0 as well as a snapshot from the current master and the risdenk fork (28.08.17):
./bin/ycsb.sh load elasticsearch -P workloads/workloada -p es.remote=true -p path.home=/usr/share/elasticsearch -s
I configured the elasticsearch.yml with the following line:
cluster.name: es.ycsb.cluster
It works perfectly with Elasticsearch version 2.2.3 according to the examples in the elasticsearch binding folder as well as the answer in the following issue from jasontedor.
On the described versions i get the following error message:
I also wanted to try the
elasticsearch5
binding like described in this README commited from the risdenk fork, but it seems not to be recognized from the ycsb script, since it is not implemented as an option yet.I really would be glad for some help regarding this issue. I already looked up the answers to the issues #856 , #796 but setting
client.transport.sniff=false
didn't work also (i'm not using docker). Embedded mode works fine in all versions that i've tested.If you need more details just ask me!