Closed lukas-vlcek closed 7 years ago
Symptom:
TypeError: hot_threads() got an unexpected keyword argument 'doc_type'
There seems to be a bug in Elasticsearch-py client that was fixed in https://github.com/elastic/elasticsearch-py/pull/572.
Now, watches needs to use elasticsearch-5.4.0 or above. For earlier Python client versions (i.e. <5.4.0) it is expected to fail when hot_threads command is called (or when tests are run).
watches
elasticsearch-5.4.0
<5.4.0
hot_threads
Symptom:
There seems to be a bug in Elasticsearch-py client that was fixed in https://github.com/elastic/elasticsearch-py/pull/572.