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
Trying to install all the matchminer bits on a new server (without docker) and I found that the elastic search indexes do not seem to be set up. So I tried running python pymm_run.py reset-elasticsearch in the matchminer-api directory.
It seemed to be going along fine until it came to this error:
Any suggestions on what to do next?
Thanks!
Wes
[WARNING] POST http://localhost:9200/_bulk [status:400 request:0.005s]
Traceback (most recent call last):
File "pymm_run.py", line 87, in <module>
args.func(args)
File "pymm_run.py", line 81, in <lambda>
subp_p.set_defaults(func=lambda x: reset_elasticsearch())
File "/opt/matchminer-api/matchminer/elasticsearch.py", line 189, in reset_elasticsearch
add_all_trials_to_elasticsearch()]
File "/opt/matchminer-api/matchminer/elasticsearch.py", line 44, in add_all_trials_to_elasticsearch
add_trial_id_list_to_elasticsearch(chunked_trial_ids)
File "/opt/matchminer-api/matchminer/elasticsearch.py", line 50, in add_trial_id_list_to_elasticsearch
add_prepared_trials_to_elasticsearch(prepared_trials)
File "/opt/matchminer-api/matchminer/elasticsearch.py", line 67, in add_prepared_trials_to_elasticsearch
helpers.bulk(get_es_client(), prepared_trials)
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/helpers/actions.py", line 314, in bulk
for ok, item in streaming_bulk(client, actions, *args, **kwargs):
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/helpers/actions.py", line 244, in streaming_bulk
**kwargs
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/helpers/actions.py", line 130, in _process_bulk_chunk
raise e
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/helpers/actions.py", line 126, in _process_bulk_chunk
resp = client.bulk("\n".join(bulk_actions) + "\n", *args, **kwargs)
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/client/utils.py", line 101, in _wrapped
return func(*args, params=params, **kwargs)
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/client/__init__.py", line 1581, in bulk
headers={"content-type": "application/x-ndjson"},
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/transport.py", line 409, in perform_request
timeout=timeout,
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/connection/http_urllib3.py", line 252, in perform_request
self._raise_error(response.status, raw_data)
File "/opt/matchminer-api/env/lib/python3.7/site-packages/elasticsearch/connection/base.py", line 254, in _raise_error
status_code, error_message, additional_info
elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', 'Action/metadata line [1] contains an unknown parameter [_type]')
The text was updated successfully, but these errors were encountered:
Trying to install all the matchminer bits on a new server (without docker) and I found that the elastic search indexes do not seem to be set up. So I tried running python pymm_run.py reset-elasticsearch in the matchminer-api directory.
It seemed to be going along fine until it came to this error:
Any suggestions on what to do next?
Thanks!
Wes
The text was updated successfully, but these errors were encountered: