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

Running the loader a 2nd time breaks when running against a cloud managed cluster (elastic.co) #388

Open
MilesNorton opened this issue May 9, 2024 · 0 comments

Comments

@MilesNorton
Copy link

MilesNorton commented May 9, 2024

I have an elasticsearch managed cluster on elastic.co. When I run the loader function for the first time it runs but then when i run it again it breaks with following error:

ResponseError: parse_exception: [parse_exception] Reason: mix of settings map and top-level properties
    at onBody (/home/miles-karmo/Projects/addressrio/node_modules/@opensearch-project/opensearch/lib/Transport.js:426:23)
    at IncomingMessage.onEnd (/home/miles-karmo/Projects/addressrio/node_modules/@opensearch-project/opensearch/lib/Transport.js:341:11)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 

At the moment I need to drop the index and re-sync everything which takes time since I won't be able to run the loader function per state as well.

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

1 participant