oliver006 / elasticsearch-test-data

Generate and upload test data to Elasticsearch for performance and load testing
MIT License
257 stars 124 forks source link

Upload: FAILED #30

Open Rockawear opened 3 years ago

Rockawear commented 3 years ago

Hi, I'm running this in localhost and the ES server is a vagrant box running locally, I'm forwarding port 9200 from guest to 9201 host. I'd like to get this working, see errors below. Any help would be appreciated. Thanks

python3 es_test_data.py --es_url=http://127.0.0.1:9201 git:master* [I 210612 04:39:13 es_test_data:55] Trying to create index http://127.0.0.1:9201/test_data [I 210612 04:39:13 es_test_data:60] Looks like the index exists already [I 210612 04:39:13 es_test_data:228] Generating 100000 docs, upload batch size is 1000 [I 210612 04:39:13 es_test_data:81] Upload: FAILED - upload took: 152ms, total docs uploaded: 1000 [I 210612 04:39:13 es_test_data:81] Upload: FAILED - upload took: 5ms, total docs uploaded: 2000 [I 210612 04:39:13 es_test_data:81] Upload: FAILED - upload took: 42ms, total docs uploaded: 3000

oliver006 commented 3 years ago

Might be related to this: Looks like the index exists ?

Rockawear commented 3 years ago

@oliver006 well, I made sure that the index doesn't exist before running the script. Confusing message. I guess it's still working for you.