Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:esbench.client:'_all' #78

Open
snanduriterra opened this issue Feb 18, 2017 · 1 comment
Open

ERROR:esbench.client:'_all' #78

snanduriterra opened this issue Feb 18, 2017 · 1 comment

Comments

@snanduriterra
Copy link

Hi I have followed the document and installed esbench, tried basic run on the localhost where ES is installed and I get the below error.

esbench run
INFO:esbench.data:downloading 'https://s3-us-west-1.amazonaws.com/esbench/appl_2005_aa.gz' to '/tmp/appl_2005_aa.gz'...
INFO:esbench.data:done downloading https://s3-us-west-1.amazonaws.com/esbench/appl_2005_aa.gz, time: 0.64s
INFO:esbench.bench:loaded 6 lines into index 'esbench_test', size: 120968 (0.00MB)
INFO:esbench.bench:beginning observation no: 1, 2017-02-18T01:29:05Z
INFO:esbench.bench:ran query 'match_description_facet_date_histogram' 100 times in 0.10s
INFO:esbench.bench:ran query 'match_description_sorted_abstract' 100 times in 0.08s
INFO:esbench.bench:ran query 'match_description' 100 times in 0.07s
INFO:esbench.bench:finished observation no: 1, id: 9b6e57bd, time: 0.245
ERROR:esbench.client:'_all'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/esbench/client.py", line 174, in main
benchmark.run(batches)
File "/usr/local/lib/python2.7/dist-packages/esbench/bench.py", line 370, in run
self.observe()
File "/usr/local/lib/python2.7/dist-packages/esbench/bench.py", line 329, in observe
observation.record()
File "/usr/local/lib/python2.7/dist-packages/esbench/bench.py", line 278, in record
'stats': self._stats(),
File "/usr/local/lib/python2.7/dist-packages/esbench/bench.py", line 210, in _stats
stats = json.loads(resp.data)['_all']['indices'][esbench.TEST_INDEX_NAME]['primaries']
KeyError: '_all'

@wbypai
Copy link

wbypai commented Nov 13, 2019

Confirm that I'm having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants