Cannot read property 'status' of undefined #65
Comments
Try the latest version with the fix I just added. I don't know what the actual cause for the error is and it's also really hard to reproduce such errors, so I'm just hoping that this is now fixed. |
Thanks. It works now ;) Now it continues after an error and I can see the problem, that in my case was like: {"create":{"_index":"logstash-2014.08.14","_type":"type","_id":"LVELGyJ_Qqa0hkWBj0KIxA","status":409,"error":"DocumentAlreadyExistsException[[logstash-2014.08.14][3] [type][LVELGyJ_Qqa0hkWBj0KIxA]: document already exists]"}} |
Did the document exist before, or is this an error from the exporter? |
I believe it's from the exporter. I did as follows: |
Can you check the file if the entry with the problem shows up twice? In any case, I'm surprised this throws an error at all, since an existing document should simply be ignored or overwritten (depending on mode). |
Most of them appear only once, but I checked all of them and got 40 duplicates in the exported file. Index size is about 7600 items. IMHO, the app seems to be in a loophole trying to import again items it had already imported, because it's been running for 30min and it's still throwing errors. |
It might still be running because somewhere it doesn't count these errors as documents, but that should be visible in the output. Is it stuck somewhere at 99% or does it just repeatedly throw the same error? |
It keeps throwing the same error (409 DocumentAlreadyExistsException) with different document IDs at a rate of about 20 errors per second or so. Just before the errors begin to flood the console I can see some "Processed XX of YY entries (ZZ%)" but I believe last one I saw this morning was about 70%. |
When you so the script it should tell you the document stats. Can you post I'll be honest, I have no idea what's wrong right now. This is the first
|
Hello,
I have Elasticsearch v1.1.2 debian package.
Just installed the Exporter (version 1.3.3) and first test was to export an index to file and to copy it to a new index in the cluster.
Export task completes OK, but copying to new index fails:
Script shows only 1300 processed documents but elasticsearch's kopf plugin says index has 5k+ documents.
Hope you can help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: