the-james-burton / the-turbine

The turbine is a set of server-side components that perform automated technical analysis on stocks.
MIT License
15 stars 7 forks source link

upgrade to lastest elasticsearch version #27

Closed the-james-burton closed 7 years ago

the-james-burton commented 7 years ago

I'm hitting unusual eclipse classloading issues with the elasticsearch java API when trying to index documents (including a mysterious "Cannot happen" error message!). I think these may be java 8 compatibility related. Hopefully, the latest version of elasticsearch does not have this error.

the-james-burton commented 7 years ago

This issue is gone after upgrading to ES 5.2. Rather annoyingly, the in-process ES 'Node' server is no longer supported. Furthermore, it forces log4j2 and there doesn't seem to be a simple workaround for 100% clean JUnits See #27. Still, the upgrade is done and it all works as expected.