Adebski Aljoscha Krettek thanks for the explanation
I assumed that the problem was local only because the last time I tried it with cluster execution for the release testing, it worked without issues.
I also tried it in local mode just now, however cannot reproduce. I wonder if it may be something specific to the IDE setup, or only surfaces when some other dependency is included.
I don't really like the idea of removing the `elasticsearch-base` module and duplicating the base classes. Apart from the duplication which isn't nice, if we're solving it this way, then the problem would still exist for the elasticsearch1 module.
As for another possible resolution, I was checking out this thread: https://github.com/elastic/elasticsearch/issues/7959, and wondering if we can simply exclude the asm dependency from ES.
From the comments in that thread, it seems like if we're just using ES client, it is safe to exclude the asm dependencies when pulling in ES dependencies in elasticsearch-base. i.e.,
Adebski have you tried that? Btw, thanks a lot for digging into this